rynox
08-21-2003, 12:26 AM
Got a little problem with PHP_AUTH_USER, running Apache 1.3, PHP 4.2? on Netware. Corporate Intranet site.
I have a home page /index.php that does not require a login, so to get the user to log in, I link them to /notanon/main/index.php which prompts for an NDS login (because the folder is not set to allow anonymous access, uses Apache NDS module). The only thing the /notanon/main/index.php file does is redirect back to the /index.php. The problem is, once I redirect back to /index.php, Apache is not sending the PHP_AUTH_USER server variable to the client.
The strange thing is, when I test with a .php file in the /notanon/main/ directory or even the /notanon/ directory the PHP_AUTH_USER variable is available, just not from the document root.
Any ideas? I'm pulling my hair out here.
rynðx
"We often use strong language not to express powerful emotion, but rather to evoke it in us." Eric Hoffer
I have a home page /index.php that does not require a login, so to get the user to log in, I link them to /notanon/main/index.php which prompts for an NDS login (because the folder is not set to allow anonymous access, uses Apache NDS module). The only thing the /notanon/main/index.php file does is redirect back to the /index.php. The problem is, once I redirect back to /index.php, Apache is not sending the PHP_AUTH_USER server variable to the client.
The strange thing is, when I test with a .php file in the /notanon/main/ directory or even the /notanon/ directory the PHP_AUTH_USER variable is available, just not from the document root.
Any ideas? I'm pulling my hair out here.
rynðx
"We often use strong language not to express powerful emotion, but rather to evoke it in us." Eric Hoffer