DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10678>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10678

REMOTE_USER variable gets dropped when using .htaccess





------- Additional Comments From [EMAIL PROTECTED]  2002-07-18 08:44 -------
A further interesting effect occurs when using two .htaccess files.

1.)

htdocs/.htaccess:
AuthType Basic
AuthName Test
AuthUserFile /home/test/htdocs/.htpasswd
Require user b
AddHandler test-script .sh
Action  test-script /cgi-bin/test.cgi

cgi-bin/.htaccess:
#empty

When trying to access a document test.sh. The server asks for user b's 
password, but the REMOTE_USER variable doesn't exist.


2.)

htdocs/.htaccess:
AddHandler test-script .sh
Action  test-script /cgi-bin/test.cgi

cgi-bin/.htaccess:
AuthType Basic
AuthName Test
AuthUserFile /home/test/.htpasswd
Require user a

The server asks for user a's password and the REMOTE_USER variable is
shown.

To my mind this behavious is wrong because two .htaccess files are consulted,
but not fully applied.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to