|
Posted by Joff on 08/02/07 14:47
I'm running PHP on IIS and need to set basic authentication on a
particular folder, e.g http://domain.com/private/
I've set the user on the server and assigned permissions to the
folder.
When requesting files within the folder, I get the login/password
prompt and entering the correct credentials gives me the file, except
for .php files.
The .php file is as basic as they come with just <?php echo "Hello
world"; ?> as the contents.
http://domain.com/private/test.txt works perfectly, however
http://domain.com/private/test.php denies access, giving only:
"Unauthorized
Access is denied due to invalid credentials."
I've tried giving the user full permissions; I've ensured that
Application Settings configuration within IIS Manager properties >
Home Directory, allows PHP files.
Any other suggestions?
[Back to original message]
|