First, thanks to all those folks who answered my question about modems.

I'm setting a small web/email server using LM 8.0 with virtual IP 
addresses for different domains.  However, one site has to be in 
two languages, where one URI points to an English subdirectory, 
and the other URI points to a Spanish subdirectory.

Virtual hosting via IP numbers an Apache 1.3.19 works fine; combining 
it with named virtual hosting does not seem to be working.   

I am setting /etc/httpd/conf/vhosts/Vhosts.conf like this:

NameVirtualHost 1.2.3.4
 
<VirtualHost 1.2.3.4>
User nobody
Group nobody
DocumentRoot /path/to/spanish
ServerName spanish.org
ErrorLog /var/log/httpd/span_error_log
</VirtualHost>
<VirtualHost 1.2.3.4>
User nobody
Group nobody
DocumentRoot /path/to/english
ServerName english.org
ErrorLog /var/log/httpd/engl_error_log
</VirtualHost>

What's happening is that whichever virtual host I put first becomes 
the default site for both URI's.  Does anyone know how to correctly 
combine IP-based virtual hosts with name-based virtual hosts?  The 
apache docs suggest the approach I tried above, but it doesn't work.

Thanks in advance,

Dan




Make a difference, help support the relief efforts in the U.S.
http://clubs.lycos.com/live/events/september11.asp

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to