blargism/OCause/master/public/.htaccess - Htaccess File

blargism/OCause/master/public/.htaccess

#AddHandler application/x-httpd-php .html .htm
#AddHandler x-httpd-php5 .php .html .htm

<IfModule mod_rewrite.c>
RewriteEngine On

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

#RewriteRule ^(.*)/$ index.php [QSA,L]
#RewriteRule ^/?$ index
#RewriteRule ^(.*).html$ index.php [QSA,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache