httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45297] mod_dir does not manage correctly the user (r-> user) in the response handler
Date Fri, 27 Jun 2008 15:05:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45297


Torsten F <torsten.foertsch@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |torsten.foertsch@gmx.net




--- Comment #1 from Torsten F <torsten.foertsch@gmx.net>  2008-06-27 08:05:58 PST ---
I have verified it without mod_perl with apache 2.2.9:

DirectoryIndex index.shtml
Options Includes Indexes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

<Location /index.shtml>
    Require valid-user
    AuthType basic
    AuthName "Something very secret"
    AuthUserFile /path/to/htpasswd
</Location>

My index.shtml reads:

<html>
<body>
<h1>Hello <!--#echo var="REMOTE_USER" --></h1>
<pre>
<!--#printenv -->
</pre>
</body>
</html>

If /index.shtml is requested all works normal. If only / is requested I get 
the password prompt. Then it shows the page but the REMOTE_USER variable is 
unset. This variable is r->user.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message