romaten1/ua-catalog/master/.htaccess - Htaccess File

romaten1/ua-catalog/master/.htaccess

# Set document root to be "basic/web"
# use mod_rewrite for pretty URL support
RewriteEngine on

RewriteRule ^((?!web/).*)$ web/$1 [L,NC]
# If a directory or a file exists, use the request directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Otherwise forward the request to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache