OS: CentOS 5.3
Apache 2.2.3
Say I have two site hosted on the machine (/var/www/html/site1 and /var/www/html/site2).
For now,
http://hostname/site1
http://hostname/site2
brings to the site.
and
http://hostname
brings to apache welcome page.
Is there any way to make (http://hostname) direct to site1 by just changing configuration but not moving folder structures? Thanks a lot!!
Best Answer
You want one of the
Redirect*
directives.