Kai Riasol Gonzalez <[EMAIL PROTECTED]> writes: > hallo > > ich habe einen apache laufen mit 2 virtual hosts(en und is). > > auszug aus der httpd.conf > > <VirtualHost en> > ServerAdmin riasol@localhost > DocumentRoot /www/en/public_html > ScriptAlias /cgi-bin /www/en/cgi-bin/ > ServerName en > ErrorLog /var/log/apache/en-error.log > CustomLog /var/log/apache/en-access.log common > </VirtualHost> > > <VirtualHost is> > ServerAdmin riasol@locahost > DocumentRoot /www/is/public_html > ScriptAlias /cgi-bin /www/is/cgi-bin/ > ServerName is > ErrorLog /var/log/apache/is-error.log > CustomLog /var/log/apache/is-access.log common > </VirtualHost> > > wenn ich den apache starte bekomme ich folgende fehlermeldung > > gateway:~# /etc/init.d/apache start > Starting web server: apache[Sun May 26 19:06:21 2002] [warn] VirtualHost > en:80 overlaps with VirtualHost is:80, the first has precedence, perhaps > you need a NameVirtualHost directive ^^^^^^^^^^^^^^^^^^^^^^^^^
NameVirtualHost 192.168.1.1 <VirtualHost 192.168.1.1> .... ServerName en .... </VirtualHost> <VirtualHost 192.168.1.1> .... ServerName en .... </VirtualHost> > .... > was ist denn das problem?? > > thx > kai > Ausführliche Erklärung in /usr/share/doc/apache/manual/vhosts/name-based.html.html HTH, Ramin -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)