Re: struggling with virtual hosting

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

 



Am Mi, den 08.10.2003 schrieb Philippe Rousselot um 11:20:
> Hi 
> 
> I have been trying to get virtual hosting working under RH9.0/Apache2.0

According to my setup here you should try

> <VirtualHost *>    //instead of localhost
        DocumentRoot /var/www/html 
        ServerName localhost
        DirectoryIndex index.php index.html index.htm index.shtml 
        LogLevel debug
        HostNameLookups off
</VirtualHost>

<VirtualHost *>    // instead of dolibarr
        DocumentRoot /var/www/dolibarr 
        ServerName dolibarr
</VirtualHost>

<VirtualHost *>    // instead of calendrier
        DocumentRoot /var/www/calendrier 
        ServerName calendrier
</VirtualHost>



And for clarity you should set all your directives for each virtual host
(esp. the DirectoryIndex and Logfiles). The entries for your first
virtual host are not interpreted as defaults for the other one.


Good luck

Peter








-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux