|
|
Subject:
PHP pages bypassing .htaccess file
Category: Computers > Security Asked by: slicknick22-ga List Price: $5.00 |
Posted:
24 Apr 2006 18:50 PDT
Expires: 24 May 2006 18:50 PDT Question ID: 722460 |
I'm running a Wiki written in php on a Apache/CGI system. Accessing the file 'index.php' directly (or any other php file, for that matter) bypasses basic authentication and no username/password is requested, even though 'index.php' is in the protected directory. HTML and other files do require user authentication, so I know that .htaccess/.htpasswd generally works. The CGI (vs. Module) implementation means that I don't have "hooks" into the Apache .htaccess authentication globals. Is there a way to force .htaccess style basic authentication before a php file in a protected directory is executed? I'd prefer not to modify my php application if I don't have to. Many, many thanks in advance for your much valued assistance! |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |