Htaccess File

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

REQUEST_FILENAME
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
Exit mobile version