httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

Torsten F <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Torsten F <>  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

My index.shtml reads:

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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message