[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: [MP2]mod_perl and index.html
From: "titetluc titetluc" <titetluc () gmail ! com>
Date: 2008-06-27 12:25:07
Message-ID: 9b0e769d0806270525j3ee533d4v878c82b3a10845d0 () mail ! gmail ! com
[Download RAW message or body]
Torsten,
I created a bug. Bug number is
45297<https://issues.apache.org/bugzilla/show_bug.cgi?id=45297>
Thank you very much for your help
2008/6/27, Torsten Foertsch <torsten.foertsch@gmx.net>:
>
> On Fri 27 Jun 2008, titetluc titetluc wrote:
> > Would it be rather a wrong httpd configuration: my requirement is very
> > common (calling a response handler for an index.html and access the
> r->user
> > information). I may misconfigure Apache ????
> >
> > BTW, how can I verify if it is a bug ? Which apache mailing list do I
> have
> > to use ?
>
>
> On the apache httpd website http://httpd.apache.org you'll find
> instructions
> how to file a bug.
>
> 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.
>
> File the bug then send its number to the list. I'll fill in the details. In
> your bug description you can reference this thread:
>
> http://www.gossamer-threads.com/lists/modperl/modperl/97533
>
>
> Torsten
>
> --
> Need professional mod_perl support?
> Just hire me: torsten.foertsch@gmx.net
>
[Attachment #3 (text/html)]
Torsten,<br><br>I created a bug. Bug number is <a \
href="https://issues.apache.org/bugzilla/show_bug.cgi?id=45297">45297</a><br><br>Thank \
you very much for your help<br><br><div><span class="gmail_quote">2008/6/27, Torsten \
Foertsch <<a href="mailto:torsten.foertsch@gmx.net">torsten.foertsch@gmx.net</a>>:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> On Fri 27 Jun 2008, titetluc titetluc wrote:<br> > \
Would it be rather a wrong httpd configuration: my requirement is very<br> > \
common (calling a response handler for an index.html and access the r->user<br> \
> information). I may misconfigure Apache ????<br> ><br> > BTW, how can I \
verify if it is a bug ? Which apache mailing list do I have<br> > to use ?<br> \
<br> <br>On the apache httpd website <a \
href="http://httpd.apache.org">http://httpd.apache.org</a> you'll find \
instructions<br> how to file a bug.<br> <br> I have verified it without mod_perl \
with apache 2.2.9:<br> <br> DirectoryIndex index.shtml<br> Options Includes \
Indexes<br> AddType text/html .shtml<br> AddOutputFilter INCLUDES .shtml<br> <br> \
<Location /index.shtml><br> <br> Require \
valid-user<br> AuthType basic<br> \
<br> AuthName "Something very \
secret"<br> AuthUserFile /path/to/htpasswd<br> \
</Location><br> <br> My index.shtml reads:<br> <br> <html><br> \
<body><br> <h1>Hello <!--#echo var="REMOTE_USER" \
--></h1><br> <pre><br> <!--#printenv --><br> </pre><br> \
</body><br> </html><br> <br> If /index.shtml is requested all works \
normal. If only / is requested I get<br> the password prompt. Then it shows the page \
but the REMOTE_USER variable is<br> unset. This variable is r->user.<br> <br> File \
the bug then send its number to the list. I'll fill in the details. In<br> your \
bug description you can reference this thread:<br> <br> <a \
href="http://www.gossamer-threads.com/lists/modperl/modperl/97533">http://www.gossamer-threads.com/lists/modperl/modperl/97533</a><br> \
<br><br> Torsten<br> <br> --<br> Need professional mod_perl support?<br> Just hire \
me: <a href="mailto:torsten.foertsch@gmx.net">torsten.foertsch@gmx.net</a><br> \
</blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic