williambargent/WeatherMX/master/web/.htaccess - Htaccess File

williambargent/WeatherMX/master/web/.htaccess

Allow from All

RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_FILENAME}.php -f 
RewriteRule ^(.*)$ $1.php

#Prevent Directory Listing
Options -Indexes

#Error
ErrorDocument 400 /layout/error/400.php
ErrorDocument 401 /layout/error/401.php
ErrorDocument 403 /layout/error/403.php
ErrorDocument 404 /layout/error/404.php
ErrorDocument 500 /layout/error/500.php

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache