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-14 06:20 ------- .htaccess isn't the problem. It seems more to be in the use of AddHandler and Action. If a similar simple script exists in the directory and is executable under the ExecCGI rules, then REMOTE_USER is passed: .htaccess: AuthType Basic AuthName Test AuthUserFile /path/to/password/file Require valid user (or Require user name) Then a script in that directory like this shows the environment variable: test.cgi: #!/bin/sh echo "Content-Type: text/plain" echo echo "Remote User: $REMOTE_USER" However, identifying such a script in an Action or Script directive causes the variable to be lost somewhere, as in this as well as the case originally outlined: httpd.conf: Script PUT /path/to/the/above/script .htaccess: AuthType Basic AuthName "no REMOTE_USER" AuthUserFile /path/to/password/file <Limit PUT> Require user name </Limit> and the variable REMOTE_USER does not appear. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]