httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] HTTPD 2.2.17 issue on Fedora 15 with listening on IPv4
Date Wed, 13 Jul 2011 00:24:34 GMT
On Mon, Jul 11, 2011 at 8:21 AM, Barry Scott <barry.scott@onelan.co.uk> wrote:
> We are porting our application to Fedora 15 and to systemd from SysV init.
> The httpd configuraturation we are using work without problem on earlier
> Fedora 13 systems.
>
> We are hitting an odd problem with httpd handling requests on localhost:80
> over IPv4. The configuration allows access without authenication but we
> get a 401 error. However repeat the request using IPv6 and it it works.
>
> If we restart httpd (systemctl restart httpd.service) the problem goes
> away. We have a set of identical hardware running identical software
> with identical config and not all systems show this problem. Leading me
> to expect its a race condition during startup.
>
> Here is a fragment of the httpd.conf file:
>
> <VirtualHost 127.0.0.1:80 [::1]:80>
>    ... rewrite rules ...
>    <Location /XML>
>
>        #+ localhost auth file
>        Order allow,deny
>        Allow from 127.0.0.1
>        Allow from ::1
>        Satisfy Any
>        #- localhost auth file
>
>    </Location>
>    ...
> </VirtualHost>
>
> I test this with:
>
> curl -4 http://localhost:80/XML/
> curl -6 http://localhost:80/XML/

How does the client IP address show up in error and access logs?

>
> I'm willing to debug and patch the code to get to the bottom of the problem
> but would like to know if this is a known problem. Any pointers on where
> to start looking in the code would be welcome as well.
>
> Barry
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
Born in Roswell... married an alien...

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message