Re: http authentication with safe mode enabled?!

From: Date: Sun, 20 Mar 2005 18:13:14 +0000
Subject: Re: http authentication with safe mode enabled?!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211141@lists.php.net to get a copy of this message
Hello Roman, yes if safe_mode=on then Authorization header is hidden from phpinfo() and apache_request_headers(), but variables $_SERVER["PHP_AUTH_USER"] and "PHP_AUTH_PW" are set , when Basic authorization is used ! (it works in my configuration of Apache and PHP) Problem may be in Apache . When directory (where requested file is) is protected by Apache authentication, then $_SERVER variables are not set.

« previous php.general (#211141) next »