[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 &lt;<a href="mailto:torsten.foertsch@gmx.net">torsten.foertsch@gmx.net</a>&gt;:</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> &gt; \
Would it be rather a wrong httpd configuration: my requirement is very<br> &gt; \
common (calling a response handler for an index.html and access the r-&gt;user<br> \
&gt; information). I may misconfigure Apache ????<br>  &gt;<br> &gt; BTW, how can I \
verify if it is a bug ? Which apache mailing list do I have<br> &gt; to use ?<br> \
<br> <br>On the apache httpd website <a \
href="http://httpd.apache.org">http://httpd.apache.org</a> you&#39;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>  \
&lt;Location /index.shtml&gt;<br> <br>&nbsp;&nbsp;&nbsp;&nbsp;Require \
valid-user<br>&nbsp;&nbsp;&nbsp;&nbsp;AuthType basic<br> \
<br>&nbsp;&nbsp;&nbsp;&nbsp;AuthName &quot;Something very \
secret&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;AuthUserFile /path/to/htpasswd<br> \
&lt;/Location&gt;<br> <br> My index.shtml reads:<br>  <br> &lt;html&gt;<br> \
&lt;body&gt;<br> &lt;h1&gt;Hello &lt;!--#echo var=&quot;REMOTE_USER&quot; \
--&gt;&lt;/h1&gt;<br> &lt;pre&gt;<br> &lt;!--#printenv --&gt;<br> &lt;/pre&gt;<br> \
&lt;/body&gt;<br> &lt;/html&gt;<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-&gt;user.<br> <br> File \
the bug then send its number to the list. I&#39;ll fill in the details. In<br> your \
bug description you can reference this thread:<br>  <br>&nbsp;&nbsp;<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