MINOR: Add .htaccess

This commit is contained in:
Bertrand Jacquin 2016-10-31 02:11:33 +00:00
parent e9a3c2fc29
commit e541e3edb1
No known key found for this signature in database
GPG Key ID: 5534871F2E2E93DA
1 changed files with 17 additions and 0 deletions

17
public_html/.htaccess Normal file
View File

@ -0,0 +1,17 @@
# Force no Indexes in all cases
# Force ExecCGI
# FollowSymlinks for RewriteEngine
Options -Indexes ExecCGI FollowSymlinks
AddHandler cgi-script .fcgi
# No index.html or other things
DirectoryIndex extra.fcgi
RewriteEngine On
# Stop here if application is handling the request
RewriteCond %{REQUEST_URI} ^/extra\.fcgi
RewriteRule (.*) - [L]
# Extra application
RewriteRule (.*) /extra.fcgi/$1 [L,QSA,NS]