bricksoft/omf/master/.htaccess - Htaccess File

bricksoft/omf/master/.htaccess

Options +FollowSymLinks -MultiViews -Indexes
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
# rewrite asset requests to assets subdirectory
RewriteRule ^assets/(.*)$ /web/assets/$1 [NC,L]
# rewrite favicon requests to favicon.ico
RewriteRule ^favicon.ico /web/favicon.ico [NC,L]
# If the request is not for a valid directory
#RewriteCond %{REQUEST_FILENAME} !-d
# If the request is not for a valid file
RewriteCond %{REQUEST_FILENAME} !-f
# If the request is not for a valid link
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ /web/ [L,QSA]
# Set default 404 handling page
ErrorDocument 404 /web/index.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache