Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: advx-users@advx.org

Mandrake Linux: advx-users@advx.org


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


Le lun 16/06/2003 à 17:39, Rodrigo Amboy a écrit :
> I have a web server with private ip address behind our firewall. I was 

First, make sure you have only *one* NameVirtualHost line. 

Second, try to use IP:PORT format, or set UseCanonicalName Off. You
should start with the first option:

NameVirtualHost 172.16.100.155:80

<VirtualHost 172.16.100.155:80>
ServerName mydomain.com
....
<VirtualHost>

<VirtualHost 172.16.100.155:80>
ServerName mydomain2.com
....
<VirtualHost>

Jean-Michel

> _NameVirtualHost 172.16.100.155
> <VirtualHost 172.16.100.155>
> ServerName mydomain.com
> DocumentRoot /var/www/html
> </VirtualHost>
> 
> NameVirtualHost 172.16.100.155
> <VirtualHost 172.16.100.155>
> ServerName  mydomain2.com
> DocumentRoot /home/amboy57/virtual
> <Directory /home/amboy57/virtual>
>    Options -Indexes FollowSymLinks MultiViews
>    AllowOverride All
>    <IfModule mod_access.c>
>        Order allow,deny
>        Allow from all
>  </IfModule>
> </Directory>
> </VirtualHost>
> _
> _
> Regards,
> 
> Rod
-- 
Jean-Michel Dault <jmdault@mandrakesoft.com>


Date Index | Thread Index