[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: [cobalt-users] direct domain to specific URL



in your .htaccess file in the root directory of your web site include this
line:

Redirect / http://newurl.com

This will redirect users going to yourdomain.com AND keep the web address as
the old one.  So if you have an .htaccess file in the domain name
www.domain1.com and the Redirect say to goto www.domain2.com, the visitor
will SEE domain2.com but the URL will look like domain1.com



Go here for more info... but I couldnt get these to work on my raq3.  but
the Redirect / http://newurl.com works.

http://www.apache.org/docs/mod/mod_alias.html#redirectmatch


----- Original Message -----
From: "Stephan P. Muecke" <smuecke@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, November 09, 2000 12:53 AM
Subject: Re: Re: [cobalt-users] direct domain to specific URL


Hi,

> You can either do it using Apache (using Apache's redirect, or using a
> meta tag or javascript redirect), or you can write your own program to
> read port 80, direct all the sites there, and have it do table lookups
> (perhaps using MYSQL) and send the redirects out that way.

that last option sounds very interesting. Does anyone know how to write such
a program?

Steve

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users