[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-bugs
Subject:    DO NOT REPLY [Bug 47092] New: Occasional crisscrossing of virtual
From:       bugzilla () apache ! org
Date:       2009-04-24 13:38:11
Message-ID: bug-47092-7868 () https ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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

           Summary: Occasional crisscrossing of virtual hosts with Apache
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: Sun
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fred.maroun@eds.com
                CC: fred.maroun@eds.com


We have several virtual hosts with a configuration that looks like this:

NameVirtualHost *:80

<VirtualHost _default_:80>
    ServerName          server1234
    DocumentRoot        /opt/coolstack/apache2/htdocs
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering1.mybank.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering1
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering1.mabanque.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering1
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering1.bank-banque-mine.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering1
    UseCanonicalName Off
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering2.mybank.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering2
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering2.mabanque.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering2
</VirtualHost>

<VirtualHost *:80>
    ServerName          offering2.bank-banque-mine.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/offering2
</VirtualHost>

<VirtualHost *:80>
    ServerName          www2.app1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          www2.fapp1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          www.orgnadasavingsbonds.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          product1.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          www.produit1.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          obligationsdepargneducanada.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          www.app1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          app1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          www.fapp1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

<VirtualHost *:80>
    ServerName          fapp1.myg.org
    DocumentRoot        /opt/coolstack/apache2/htdocs/app1
</VirtualHost>

It works fine 99% of the time.  The problem is that occasionally the user
enters one host name (e.g., app1.myg.org) and he is sent to the wrong folder
(e.g., /opt/coolstack/apache2/htdocs/offering2).

We are using Apache version 2.2.9.  The system is live so we need to fix this
quickly.

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic