Thread REMOTE_USER geht bei 1&1 nicht mehr (11 answers)
Opened by Henry07 at 2011-11-26 11:35

GwenDragon
 2011-11-26 12:50
#154480 #154480
User since
2005-01-17
14760 Artikel
Admin1
[Homepage]
user image
REMOTE_USER bzw. REDIRECT_REMOTE_USER wird sehr wohl gesetzt beim Apache nach Login in geschützte Verzeichnisse.
Quote
Why is the environment variable REMOTE_USER not set?

This variable is set and thus available in SSI or CGI scripts if and only if the requested document was protected by access authentication. For an explanation on how to implement these restrictions, see Apache Week's articles on Using User Authentication or DBM User Authentication.

Hint: When using a CGI script to receive the data of a HTML FORM, notice that protecting the document containing the FORM is not sufficient to provide REMOTE_USER to the CGI script. You have to protect the CGI script, too. Or alternatively only the CGI script (then authentication happens only after filling out the form).

Quelle: http://wiki.apache.org/httpd/FAQ#Why_is_the_enviro...

View full thread REMOTE_USER geht bei 1&1 nicht mehr