hi all,
        i was just configuring apache for virtual hosts and i am experiencing some
problems.

1. freshly installed red hat linux 6.0
2. ip addr = 192.168.5.3
3. virtual ip = 192.168.5.100
4. standard httpd.conf file :
   i edited below and added :

   <VirtualHost 192.168.5.100>

ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/labs
ServerName prayagonline.com
ErrorLog logs/host.prayagonline.com-error_log
TransferLog logs/host.prayagonline.com-access_log
</VirtualHost>

<VirtualHost 192.168.5.3>

ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/pol
ServerName labs.cybernetworks.com
ErrorLog logs/host.cybernetworks.com-error_log
TransferLog logs/host.cybernetworks.com-access_log
</VirtualHost>


The problem is that even after saving and restarting httpd and say after
making changes to the document root of one ,
i am not getting response on my browser.
eg supose i change the document root of the first from /home/labs to say
/home/labs
then after saving and restaring httpd,
i get the files from the former directory ..
( and yes i refreshed it ... ) sometimes it  works, however after restaring
the whole linux.
and by the way , dns is properly configured .
thanks,
gaurav
e


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to