Closed
Description
I'm using Apache version 2.2.24 and for some reason neither of the two snippets of code that you posted to use in my .htaccess were working properly. On another server (Apache 2.2.19) the "FallbackResource /index.php" worked perfectly, but it didn't work well on my server.
Here's the code I found that worked for on my server:
RewriteBase /INSERT/PATH/TO/BASE/DIRECTORY
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index.php)
RewriteRule .* index.php/$0 [L]
Without the RewriteBase all I got was a 404 error ".../index.php/ was not found".
Metadata
Metadata
Assignees
Labels
No labels