Nothing is wrong with that solution if you only have a few domains.
We own a lot of misspellings of our company name, so I don't want to
add each of them individually to the conf file.
---- Begin Original Message ----
From: Todd Finney <[EMAIL PROTECTED]>
Sent: Sun, 16 Jul 2000 22:33:18 -0400
To: mod_perl <[EMAIL PROTECTED]>
Subject: Re: Re: redirecting a domain [OT]
At 10:23 PM 7/16/00, Barry Hoggard wrote:
>No! That's a silly way to do it. You want to use mod_rewrite.
>Here's the relevant part of my httpd.conf:
>
>RewriteEngine On
>RewriteCond %{HTTP_HOST} !^www.investorama.com$
>RewriteCond %{HTTP_HOST} !^$
>RewriteRule /?(.*) http://www.investorama.com/$1 [R=permanent,L]----
Too complicated. What's wrong with this:
<VirtualHost ip.of.domain.org>
ServerName www.domain.org
Redirect permanent / http://www.domain.net/
</VirtualHost>
Todd
---- End Original Message ----
Barry Hoggard
VP of Software Development
http://www.investorama.com
email: [EMAIL PROTECTED]
voice: 212-741-7954
Investorama.com -- Your Portal to Financial Freedom