alexwyett/clublisting/master/.htaccess - Htaccess File

alexwyett/clublisting/master/.htaccess

RewriteEngine On

# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#

# RewriteBase equivalent - Dev
RewriteCond %{HTTP_HOST} ^localhost$
RewriteRule . - [E=REWRITEBASE:/clublisting/]

# Rewriting
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ %{ENV:REWRITEBASE}index.php [QSA,L]

On Github License

Files

Download PDF of Htaccess file
ENV, HTTP_HOST, REQUEST_FILENAME, REWRITEBASE

Comments

Apache