You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/25 11:10:48 UTC

DO NOT REPLY [Bug 45684] New: Random 404 page with wildcard DNS

https://issues.apache.org/bugzilla/show_bug.cgi?id=45684

           Summary: Random 404 page with wildcard DNS
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: sebastien.bilbeau@univ-rennes1.fr


I've got lots of random error 404 with wildcard virtualhost. There was no error
in the error_log.

Example of message when we have this random bug :
Aug 22 23:41:07 lennon.mydomain.fr local1.info logger:
www.lexbase.fr.passerelle.mydomain.fr 86.xx.xx.xx - - [22/Aug/2008:23:41:07
+0200] "GET /lexbase/ident HTTP/1.1" 404 517
...

My virtualhost configuration :
<VirtualHost 129.xx.xx.xx:80>
   ServerName passerelle.mydomain.fr
   ServerAlias *.passerelle.mydomain.fr
   VirtualDocumentRoot /dev/null
   # Balancing sur plusieurs serveur
   ProxyPreserveHost On
   ProxyPass /balancer-manager !
   ProxyPass / balancer://mycluster/ stickysession=BALANCEID
   <Proxy balancer://mycluster>
     BalancerMember http://jpasserelle1.mydomain.fr route=jpasserelle1
     BalancerMember http://jpasserelle2.mydomain.fr route=jpasserelle2
   </Proxy>
   ProxyPassReverse / http://jpasserelle1.mydomain.fr/
   ProxyPassReverse / http://jpasserelle2.mydomain.fr/
</Virtualhost>

I've trying to disable balancing, but I've the same problem.


-- 
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


DO NOT REPLY [Bug 45684] Random 404 page with wildcard DNS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45684





--- Comment #2 from Fabien <fa...@gmail.com>  2008-09-04 06:05:40 PST ---
I had the same error with my configuration.

I solved it by removing the port number of the VirtualHost


before:

<VirtualHost *:80>

After:

<VirtualHost *>


-- 
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


DO NOT REPLY [Bug 45684] Random 404 page with wildcard DNS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45684


rahul <ra...@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from rahul <ra...@sun.com>  2008-08-26 03:44:34 PST ---
are there any URLs that consistently produce 404? or is it totaly random?
Also what about your balancer members? is one of them producing 404 by chance?

I have been trying to reproduce your problem with no luck yet.
my conf:
<VirtualHost *>
   ServerName agneyam.india.sun.com
   ServerAlias *.agneyam.india.sun.com
   VirtualDocumentRoot /dev/null
  # Balancing sur plusieurs serveur
   ProxyPreserveHost On
   ProxyPass /balancer-manager !
   ProxyPass / balancer://mycluster/ stickysession=BALANCEID
   <Proxy balancer://mycluster>
     BalancerMember http://vayavyam.india.sun.com:8080 route=j1
     BalancerMember http://vaishnavam.india.sun.com:8080 route=j2
   </Proxy>
   ProxyPassReverse / http://vayavyam.india.sun.com:8080/
   ProxyPassReverse / http://vaishnavam.india.sun.com:8080/
</Virtualhost>


-- 
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


DO NOT REPLY [Bug 45684] Random 404 page with wildcard DNS

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45684


S <se...@univ-rennes1.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from S <se...@univ-rennes1.fr>  2008-09-04 06:28:17 PST ---
I have fixed this issue last week. Just add a timeout and keepalive option for
each balancer member.

My new configuration :

<VirtualHost 129.xx.xx.xx:80>
   ServerName passerelle.mydomain.fr
   ServerAlias *.passerelle.mydomain.fr
   VirtualDocumentRoot /dev/null
   # Balancing sur plusieurs serveur
   ProxyPreserveHost On
   ProxyPass /balancer-manager !
   ProxyPass / balancer://mycluster/ stickysession=BALANCEID
   <Proxy balancer://mycluster>
     BalancerMember http://jpasserelle1.mydomain.fr route=jpasserelle1
timeout=400 keepalive=on
     BalancerMember http://jpasserelle2.mydomain.fr route=jpasserelle2
timeout=400 keepalive=on
   </Proxy>
   ProxyPassReverse / http://jpasserelle1.mydomain.fr/
   ProxyPassReverse / http://jpasserelle2.mydomain.fr/
</Virtualhost>

Now, I have no 404 error in my logs.


-- 
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