[wellylug] HTTP re-direct

David Zanetti dave2 at wetstring.net
Mon Apr 11 18:41:18 NZST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 11 Apr 2005, Darryl Hamilton wrote:

> Chris Hodgetts wrote:
> > What's the correct way of doing an HTTP redirect?
>
> If you have access to the server config, I'd have a look at using
> mod_rewrite - check out the docs on the Apache site, there's an example
> of how to do exactly what you're wanting to do.

mod_rewrite is way overkill for a simple redirection.

You'd be better off using the Redirect* directives from mod_alias, they're
a lot simplier to understand.

- -- 
David Zanetti           |  (__)
#include <geek/unix.h>  |  ( oo    Mooooooo
http://hairy.geek.nz/   |  /(_O ./
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFCWhwQT21+qRy4P+QRAgl4AKCEsiicqB18+tHCX2zKWaS4XdJh8gCdGx3f
O9gbSH6vMIOuZBqLSziiPoA=
=7R4f
-----END PGP SIGNATURE-----




More information about the wellylug mailing list