Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Oblivious-1 on
I have hit an odd bug. I get the old Apache 403 Forbidden -- You don't have permission to access index.php on this server on all URIs ending in the letter pairing "ps" (e.g., partnerships, pork-chops, world-maps, etc.).
This error occurs with clean URLs enabled and disabled.
It is happening on two seperate installs on the same hosted account, i.e., http://example.com/site1 and http://example.com/site2.
Specs:
------
Drupal 5.2
Apache version 1.3.37 (Unix)
PHP version 4.4.4
MySQL version 4.1.21-standard
Any ideas?
Comments
Addendum
Not unexpectedly, there is nothing showing up in the Drupal logs. The only thing coming up on the Apache logs is
File does not exist: /home/account/public/404.shtml
File does not exist: /home/account/public/favicon.ico
File does not exist: /home/account/public/403.shtml
Sounds like mod_security
whenever seemingly random urls or node contents cause Apache permissions errors, 99% of the time it is an overzealous mod_security config to blame.
BTW: ps is a unix command for listing the running processes on a server. mod_security probably is mistakenly blocking it for that reason.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Thanks! That sounds like a
Thanks! That sounds like a good lead. I'll look into it tomorrow morning and get back to you all with my findings. I have another site in my charge running fine on the same hosting provider but likely different machines. I am not sure why they would be configd differently, but then I am still getting used to working with hosting providers.
Sounds like mod_security
edit: duplicate comment