You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/06/18 09:41:25 UTC

DO NOT REPLY [Bug 10678] - Several .htaccess files are consulted, REMOTE_USER gets dropped

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

Several .htaccess files are consulted, REMOTE_USER gets dropped





------- Additional Comments From laurent.dami@justice.ge.ch  2003-06-18 07:41 -------
I encountered the same problem when moving from 1.3.12 to 2.046. As suggested 
by Joseph M. Hinkle, this has to do with mod_action, NOT .htaccess. 

My config is as follows (Apache 2.046, Windows NT 4.0)

Action etat-ge-tdb /cgi-bin/tdb.cgi
AddHandler etat-ge-tdb .tdb

In my Apache 1.3.12 config, there was no access limit on the script "tdb.cgi".
Some of my *.tdb files had access limits, and in those cases the REMOTE_USER 
was appropriately passed to tdb.cgi. Now it now longer works with Apache 2. My 
workaround was to add a "require valid-user" directive for /cgi-bin/tdb.cgi, 
but this is not fully satisfactory since it is no longer possible to have 
anonymous access for some of my *.tdb files.

Note : in Apache 1.3.12, I used MIME types instead of AddHandler; but this is 
not the cause of the problem (Action with MIME types in Apache 2.046 still 
does not transmit the REMOTE_USER).

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org