Google Answers Logo
View Question
 
Q: PHP pages bypassing .htaccess file ( No Answer,   0 Comments )
Question  
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!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy