[TriLUG] apache question: redirect from root dir?

Jeff Groves jgroves at krenim.org
Mon Sep 6 23:57:19 EDT 2004


Andrew Perrin wrote:

>I would like to send all visitors to the root directory of an apache
>server (e.g., those who simply visit http://www.host.domain.org) to a
>specific URL. I understand the <META> tag is a depracated way to do this -
>is that right? How else can I do it? I have complete control of the
>machine, so privileges are not an issue.
>
>  
>
In your Apache httpd.conf file, you may want to do something like this:

Redirect permanent /index.html http://www.specific.url/whatever.html


Anyone see any reason this would not work?

Jeff G.



More information about the TriLUG mailing list