-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.htaccess
More file actions
17 lines (14 loc) · 723 Bytes
/
.htaccess
File metadata and controls
17 lines (14 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Options +ExecCGI
AddHandler fcgid-script .fcgi
# these aren't allowed on a shared machine
#Alias /wocapp/static/ /home1/wheelsp5/public_html/wocapp/app/static/
#ScriptAlias /wocapp/ /home1/wheelsp5/public_html/wocapp/app.fcgi/
# FCGID cant be configured from a .htaccess file.. or can it?
RewriteEngine On
# not sure if this line is necessary, but doesn't hurt
RewriteCond %{REQUEST_FILENAME} !=/home1/wheelsp5/public_html/app/app.fcgi
# don't match the static files.. so Apache sends those
# don't replace this with a general !-f because then people could get at
# the source code (which has secrets)
RewriteCond %{REQUEST_FILENAME} !=/home1/wheelsp5/public_html/app/static/(.*)
RewriteRule ^(.*)$ app.fcgi/$1 [QSA,L]