[TriLUG] apache question: redirect from root dir?

Andrew Perrin clists at perrin.socsci.unc.edu
Tue Sep 7 10:16:34 EDT 2004


Thanks - that works perfectly!

Andy

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu


On Mon, 6 Sep 2004, Jeff Groves wrote:

> 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.
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list