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

andygill/thermopolis/master/htaccess/home/.htaccess

Options +ExecCGI
AddHandler cgi-script .cgi
RewriteEngine On
RewriteBase   /~andy/thermopolis/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ home/thermopolis-home.cgi?path=home/$1 [L,NC,QSD]

#
# 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