On Sun, 2006-05-07 at 21:09 +0200, Binand Sethumadhavan wrote:
> On 07/05/06, Arun K. Khan <[EMAIL PROTECTED]> wrote:
> > http://genesis  works fine and shows index.html in "/home/www/html"
> > but ...
> > http://linux-install shows the same index.html as above instead of the
> 
> >     ServerName genesis.silverarc.biz
> 
> >     ServerName linux-install.silverarc.biz
> 
> If you are trying http://genesis and http://linux-install (as opposed
> to http://genesis.silverarc.biz and
> http://linux-install.silverarc.biz), 

I had already tried the FQDN as well but same result.  The latter
displays the 1st (default) vhost doc root.

> then you need to have additional
> ServerAlias directives inside each of your virtual hosts. Essentially,
> for every name (HTTP Host header) that the virtual host could possibly
> receive, you need a ServerAlias entry.
> 
I'll try this. Although, Apache docs on vhost do not mention it.

> http://genesis works fine probably because it shares the DocumentRoot
> with your default virtual host (ie, the DocumentRoot apache would use
> if it cannot locate the correct virtual host). Check out the output of
> httpd -S too.

The logs don't show any complain about configuration errors.  Will try
'httpd -S' though.

Thanks for your suggestions.

-- Arun Khan (knura at yahoo dot com) Campus sidewalks never exist as
the straightest line between two points. -- M. M. Johnston



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to