andygill/thermopolis/master/htaccess/.htaccess - Htaccess File

andygill/thermopolis/master/htaccess/.htaccess

Options +ExecCGI
AddHandler cgi-script .cgi

RewriteEngine On
RewriteBase   /~andy/thermopolis/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^$ thermopolis-welcome.cgi [L,NC]

#RewriteRule ^home/?$ home/thermopolis-home.cgi [L,NC]

#
# For testing
#
#AuthType Basic
#AuthName "Sandbox"
#AuthUserFile "/Users/andy/Sites/thermopolis/.htpasswd"
#Require valid-user

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache