Re: [PHP] Re: http authentication with safe mode enabled?!

2005-03-23 Thread Roman Stöckl-Schmidt
Richard Lynch wrote: You can always add more .htaccess files in more directories, or edit the one that's there. And that's precisely what I did. The only reason why I only have .htaccess in the top-level directory is that I don't have any directives specific to one subdomain that the others

Re: [PHP] Re: http authentication with safe mode enabled?!

2005-03-21 Thread Richard Lynch
I have no idea what to do to deal with this. There is only one .htaccess file, which is in the top-level directory of my account with my ISP. And I've even put You can always add more .htaccess files in more directories, or edit the one that's there. AuthType None in there, but it doesn't

[PHP] Re: http authentication with safe mode enabled?!

2005-03-20 Thread LacaK
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

[PHP] Re: http authentication with safe mode enabled?!

2005-03-20 Thread Roman Stckl-Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 LacaK wrote on 20.03.2005 19:13: | 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

[PHP] Re: http authentication with safe mode enabled?!

2005-03-20 Thread LacaK
Yes, documentation says : If safe mode is enabled, the uid of the script is added to the realm part of the WWW-Authenticate header. and second : The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version and also :