Htaccess File

blargism/OCause/master/public/.htaccess

REQUEST_FILENAME
#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>
Exit mobile version