[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Redirecting sites - A new question regarding .htaccess!
- Subject: Re: [cobalt-users] Redirecting sites - A new question regarding .htaccess!
- From: "Babu P. Yogarajah" <bpy@xxxxxxxxx>
- Date: Sun Feb 18 06:22:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
At 18:41 13/02/01 -0600, "john" <john@xxxxxxxxxxxxx> wrote:
>In .htacess, I put:
>
> Redirect / http://www.newdirection.com/
>
>The problem is, only www.domain.com redirects, not domain.com
Add the following in your httpd.conf file at the last line
Include /etc/httpd/conf/extra.conf
Then create a file /etc/httpd/conf/extra.conf
with at least following contents.
<VirtualHost the.ip.number.here>
ServerName www.domain.com
ServerAlias domain.com
RedirectPermanent / http://www.newdirection.com/
</VirtualHost>
Now restart the web server.
--
Babu P. Yogarajah <bpy@xxxxxxxxx>
___________________________________________________
99p Domain Registration Scheme -> http://99p.org/