[Cialug] HTTP forwarding/proxying-ish something

Colin Burnett cmlburnett at gmail.com
Mon Jul 7 12:50:30 CDT 2008


On Mon, Jul 7, 2008 at 9:23 AM, chris <chris at ia.gov> wrote:
>
> No need to use mod_rewrite for a simple redirect unless you are doing this
> within an .htaccess file and it appears you
> are not.
>
> This will work (uses mod_alias) and has *way* less overhead than firing up
> the rewrite engine:
>
> <VirtualHost *:80>
> ~  ServerName foo.com
> ~  Redirect 301 / http://www.foo.com/
> </VirtualHost>

That's the kind of "trick" I was looking for.  I knew rewrite could do
it but it seemed like a sledge hammer to kill a flea.


Colin


More information about the Cialug mailing list