robocon/atomymaxsite/master/.htaccess
<IfModule mod_php5.c>
php_value short_open_tag 1
php_value session.save_path '/tmp'
php_value error_reporting 1
</IfModule>
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
RewriteBase /
# Redirect Trailing Slashes...
# RewriteRule ^(.*)/$ /$1 [L,R=301]
# Deny Access to Hidden Files and Directories
RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)." - [F]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# For laravel
# RewriteRule ^ index.php [L]
RewriteRule ^(.*)$ index.php/$1 [L]
RedirectMatch 403 /(attach|backup|data|icon|UserFiles|video|webboard_upload|images)/.*.(php|html|htm|js|htaccess)$
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
On Github License
Files