You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Jan Theofel <th...@etes.de> on 2004/07/23 13:23:16 UTC

Apache "verwechselt" virtual hosts

Hi,

ich habe ein kleines Problem mit Apache. Und zwar verwechselt er scheinbar 
verschiedene virtual hosts. Dabei handelt es sich um folgende URLs:

http://support.etes.de/            (RT 3 Ticketsystem mit mod_perl)
http://essdemo.etes.de/ess/pp01/   (Demo ERP System)
http://extdev.etes.de/             (nur eine Startseite)

Wenn ich die nun aufrufe, wird manchmal den korrekten Content des ent-
sprechenden vhosts an, manchaml aber auch einfach nur ein "not found".
Ein Blick in die Logfile sagt mir dann, dass er den Request support.etes.de
bzw. extdev.etes.de zugeordnet hat, wo es die Datei natürlich nicht gibt.

Woran könnte das liegen?

Hier die virtual hosts aus der Apache Konfig:

--- snip ---
<VirtualHost 62.138.35.71>
  ServerName extdev.etes.de
  DocumentRoot /srv/www/htdocs/

  <Directory "/srv/www/htdocs/">
    Options FollowSymLinks
    Order allow,deny
    Allow from all
  </Directory>

</VirtualHost>


<VirtualHost 62.138.35.71>
  ServerName essdemo.etes.de
  DocumentRoot /srv/www/essdemo/

  <Directory "/srv/www/essdemo/ess">
    Options FollowSymLinks
    Order allow,deny
    Allow from all
  </Directory>

  <Directory "/srv/www/essdemo/ess/pp01">
    Options FollowSymLinks ExecCGI
    Order allow,deny
    Allow from all
    AddHandler cgi-script .cgi
    DirectoryIndex mandant.cgi index.html help.cgi
  </Directory>

</VirtualHost>


<VirtualHost 62.138.35.71>
    ServerName support.etes.de
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>
--- snap ---


extdev:/usr/local/apache/bin # ./httpd -v
Server version: Apache/1.3.29 (Unix)
Server built:   Apr 29 2004 00:44:33

Apache wurde mit der Apachetoolbox übersetzt.

Danke + Gruß,
Jan

--
Jan Theofel                              Fon:  +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbR                Fax:  +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart  Web: http://www.etes.de

--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------