AdrianBav/helenapluskowska/master/.htaccess - Htaccess File

AdrianBav/helenapluskowska/master/.htaccess

# The purpose of this file it to redirect requests to the controller.
# ie: '/about' does not physically exist, so redirect to /index.php where the controller will interpret the request.

RewriteEngine On

# To match these conditions the request must not be an existing file or directory.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Redirect all requests (matching the above conditions and not contain one of the listed filename extensions) to the root index file.
RewriteRule !.(js|ico|gif|jpg|css)$ /index.php [L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache