Hi,
This will probably be one of the huge collection of forum posts concerning authentication issues, but I couldn't find the correct solution.
-
This is what I want:
A page can only be viewed when an user has authenticated using the Realm pop-up windows of (IE, etc.). I use PHP to make this happen by sending the HTTP headers WWW-Authenticate... and HTTP/1.0... Then I can use the $PHP_AUTH_USER variable to retrieve the username. This is all basic stuff.
-
This is what I get:
When I browse to the page using the PHP authentication technique, I don't get a pop-up window at all. I get the Apache message saying: Internal Server Error (the standard error page of Apache).
-
I use Apache 1.3.1, PHP 4.1.1 and Internet Explorer 5.0.
Could anyone help me with this problem? I should add that when the website is accessed from the remote host (not mine) it works fine and the pop-up windows is being displayed.
Thanks,
Jeroen