samyhajal/jamhour.us/master/sub_root/.htaccess - Htaccess File

samyhajal/jamhour.us/master/sub_root/.htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !^(.+).js$
RewriteCond %{REQUEST_FILENAME} !^(.+).css$
RewriteCond %{REQUEST_FILENAME} !^(.+).gif$
RewriteCond %{REQUEST_FILENAME} !^(.+).jpg$
RewriteCond %{REQUEST_FILENAME} !^(.+).JPG$
RewriteCond %{REQUEST_FILENAME} !^(.+).png$
RewriteCond %{REQUEST_FILENAME} !^(.+).pdf$
RewriteCond %{REQUEST_FILENAME} !^(.+).html$
RewriteCond %{REQUEST_FILENAME} !^(.+).htm$
RewriteRule ^(.*)/ /controller.php?path=$1

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache