matschaffer/astley/master/examples/.htaccess - Htaccess File

matschaffer/astley/master/examples/.htaccess

Options ExecCGI FollowSymLinks -MultiViews
AddHandler cgi-script .cgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.cgi/$1 [QSA,L]

# Set up something like this in your apache config.
# 
# <VirtualHost *:80>
#   ServerName astley.local
#   DocumentRoot "/path/to/astley/examples"
# </VirtualHost>
# 
# Or if the index.cgi is accessible via a path, include:
#
# RewriteBase "/uri/to/astley/examples"

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache