[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache Config



Hallo Micha,

Am Sun, 7 Aug 2005 19:26:53 +0200 schrieb Micha Mutschler:

> Hallo
> 
> Ich möchte, dass die folgenden "Verknüpfungen" gelten:
>  
> http://www.usb.homelinux.org 	-> /var/www/www 
> http://usb.homelinux.org 		-> /var/www/
> http://foo.usb.homelinux.org	-> /var/www/foo
> 
> Nun hab ich an das Ende der httpd.conf (apache 1.3.33) folgendes 
> Eingetragen:

Probier mal folgendes:

 NameVirtualHost  192.168.12.79
 <VirtualHost  192.168.12.79>
>     ServerName www.usb.homelinux.org
>     DocumentRoot /var/www/www
>     <Directory "/var/www/www">
>         Options FollowSymLinks ExecCGI
>         AllowOverride AuthConfig
>         Order allow,deny
>         Allow from all
>     </Directory>
>     ServerAdmin webmaster@usb.homelinux.org
> </VirtualHost>
 <VirtualHost  192.168.12.79>
>     ServerName usb.homelinux.org
>     DocumentRoot /var/www/
>     <Directory "/var/www/">
>         Options FollowSymLinks ExecCGI
>         AllowOverride AuthConfig
>         Order allow,deny
>         Allow from all
>     </Directory>
>     ServerAdmin webmaster@usb.homelinux.org
> </VirtualHost>
 <VirtualHost  192.168.12.79>
>     ServerName foousb.homelinux.org
>     DocumentRoot /var/www/foo
>     <Directory "/var/www/foo">
>         Options FollowSymLinks ExecCGI
>         AllowOverride AuthConfig
>         Order allow,deny
>         Allow from all
>     </Directory>
>     ServerAdmin webmaster@usb.homelinux.org
> </VirtualHost>

Dann sollte es auch mit der Nachbarnin klappen. :-)


Viele Grüße aus Köln

   Ralf Schmidt




Reply to: