How do I set up virtual web servers without using different IP addresses
for each server? I tried to put an entry in httpd.conf, like:
<VirtualHost undergraduate.cs.uwa.edu.au>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/www/DOCS/research
ServerName undergraduate.cs.uwa.edu.au
ErrorLog logs/error_log
TransferLog logs/access_log
</VirtualHost>
But once I had done that, the main webserver's home page had changed to
this one
(/home/www/DOCS/undergraduate) whereas it should heve been still
/home/www/DOCS. No matter what I tried, the homepage did not want to
budge from the /home/www/DOCS/undergraduate location although nothing
had been changed in the local Netscape Preferences, and the following
entry was unchanged in srm.conf
DocumentRoot /home/www/DOCS
The error message in eror_log was:
[Tue Aug 24 12:51:48 1999] [error] [client 195.229.94.153] File does not
exist:
/home/www/DOCS/undergraduate/postgraduate/
(The postgraduate reference is strange - there is no such file/directory
under the undergraduate directory, although I was going to make a
postgraduate virtual webserver later and had made DNS aliases and NIS
host entries for the webserver called "undergraduate" and
"postgraduate"_
Anyone knows how to fix this?
Thanks
HUgo
--
Dr Hugo Bouckaert - Systems Administrator, Computer Science UWA
Tel: +(61 8) 9380 2878 / Fax: +(61 8) 9380 1089
Email: [EMAIL PROTECTED] / Web: http://www.cs.uwa.edu.au/~hugo