I have some pages (someone elses actually) that I'm trying to get running on one of my servers. He's using header("HTTP/1.0 401 Unauthorized"); to popup a dialog to ask for authentication, then checks the database.
If I remove all the checks, and just echo the variables $PHP_AUTH_USER etc, it doesn't seem to work. It just keeps popping up the dialog box. I've put the same script on a couple different machines and it works, but not on this machine. Its a Slackware 8 install with Apache 1.3.26 and PHP 4.2.3. I can't see anything obvious in the config files, but this is the only server I've tried that was installed via ApacheToolbox. Anyone have any ideas?