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
- redirecting a domain Sam Carleton
- Re: [PHP] redirecting a domain Kurth Bemis
- Re: [PHP] redirecting a domain Hans H. Anderson
- Re: redirecting a domain Michael Robinton
- Re: Re: redirecting a domain Barry Hoggard
- Todd Finney
