interfasys
Verified User
PHP-FPM + some mod_rewrite rules = AH01071. Can we fix this at the server level?
Using the standard CB rules, some mod_rewrite rules will break everything. Users will get a "File not found" and admins will see "AH01071: Got error 'Primary script unknown\n' "
There is a solution in another thread and some good general tips here:
https://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html
Using the standard CB rules, some mod_rewrite rules will break everything. Users will get a "File not found" and admins will see "AH01071: Got error 'Primary script unknown\n' "
There is a solution in another thread and some good general tips here:
https://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html
If your host requires forcing query strings, try adding a question mark following index.php in the RewriteRule
- So why do our templates require forcing query strings?
- Is there a better way to configure Apache so that we don't need to scan the whole server to try and find rules like this "RewriteRule ^(.*)$ index.php/$1" ?
Last edited: