You are here: apache_request_headers() does not return HTTP Authorization headers « PHP « IT news, forums, messages
apache_request_headers() does not return HTTP Authorization headers

Posted by LacaK on 03/18/05 19:39

Hello,
my PHP is running as Apache module.

if safe_mode=on
function apache_request_headers() does not return Authorization headers
so there is no possibilty to validate "HTTP Digest Authorization ..."

if safe_mode=off
all wotks OK.

I send to browser :
Header( "HTTP/1.0 401 Unauthorized");
Header( "WWW-Authenticate: Digest realm=\"www.myrealm.sk\",
opaque=\"{$opaque}\", nonce=\"{$nonce}\", stale=\"{$stale}\",
qop=\"auth\"");

browser respond with HTTP header :
Authorization: Digest .....

which is OK, but this header is not included in apache_request_headers()

I thing, that is a bug ...
or can anyone help ?

Thank you
LacaK.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация