ezrpg/ezrpg-2.0.X-discontinued-/master/.htaccess - Htaccess File

ezrpg/ezrpg-2.0.X-discontinued-/master/.htaccess

# Follow *nix symlinks through and disallow directory listings
Options +FollowSymLinks -Indexes 

# Turn on the Rewriting Engine
RewriteEngine On 

# Static assets
RewriteCond %{DOCUMENT_ROOT}/Web/%{REQUEST_URI} -f
RewriteRule (.*) Web/$1 [L]

# Does the file exist? If so, do not rewrite it.
RewriteCond %{SCRIPT_FILENAME} !-f  

# The requested file does not exist, so rewrite the request to use index.php
RewriteRule (.*) Web/$1 [NC]

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, REQUEST_URI, SCRIPT_FILENAME

Comments

Apache