You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Sam Carleton <sc...@activex-dev.com> on 2000/07/15 04:26:05 UTC
redirecting a domain
I have an apache question and I have NO idea where to post it. Is there
a newsgroup or mailing list simply for apache?
I have multipal domain names: domain.net & domain.org. I would like to
configure apache such that when someone goes to www.domain.org, they are
"redirect" to www.domain.net. They are both the exact same web site, I
simply want the domain name to show up as www.domain.net. Any thoughs
on how to do that?
Sam
Re: redirecting a domain
Posted by Michael Robinton <mi...@bizsystems.com>.
Sure, load the page in a frame that hides the second url request
On Fri, 14 Jul 2000, Sam Carleton wrote:
> I have an apache question and I have NO idea where to post it. Is there
> a newsgroup or mailing list simply for apache?
>
> I have multipal domain names: domain.net & domain.org. I would like to
> configure apache such that when someone goes to www.domain.org, they are
> "redirect" to www.domain.net. They are both the exact same web site, I
> simply want the domain name to show up as www.domain.net. Any thoughs
> on how to do that?
>
> Sam
>
Re: [PHP] redirecting a domain
Posted by "Hans H. Anderson" <me...@hansanderson.com>.
He wants it to look like .net, though, not .org.
In Apache's conf file, usually httpd.conf:
Redirect / http://www.domain.net
If it's a virtual host, put it inside the virtual host directive.
On Fri, 14 Jul 2000, Kurth Bemis wrote:
> At 10:26 PM 7/14/2000 -0400, Sam Carleton wrote:
>
> just set up a virtual host for one and have it point to the documentroot
> for the main site......
>
> make sense?
>
> ~kurth
>
> >I have an apache question and I have NO idea where to post it. Is there
> >a newsgroup or mailing list simply for apache?
> >
> >I have multipal domain names: domain.net & domain.org. I would like to
> >configure apache such that when someone goes to www.domain.org, they are
> >"redirect" to www.domain.net. They are both the exact same web site, I
> >simply want the domain name to show up as www.domain.net. Any thoughs
> >on how to do that?
> >
> >Sam
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> >For additional commands, e-mail: php-general-help@lists.php.net
> >To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net
>
> kurth@usaexpress.net
> http://www.usaexpress.net/kurth
> ICQ - 6624050
> Call Sign - N1TYW
> PGP key available - http://www.usaexpress.net/kurth/pgp
>
> Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net
> (http://www.distributed.net)
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
Hans Anderson ~ me@hansanderson.com
PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL
(800)397-9116 / (406)549-6524 | Databases, Flash Multimedia,
http://www.hansanderson.com | Killer Audio Production,
http://www.goofiness.com | Minty Fresh Breath.
Re: [PHP] redirecting a domain
Posted by Kurth Bemis <ku...@usaexpress.net>.
At 10:26 PM 7/14/2000 -0400, Sam Carleton wrote:
just set up a virtual host for one and have it point to the documentroot
for the main site......
make sense?
~kurth
>I have an apache question and I have NO idea where to post it. Is there
>a newsgroup or mailing list simply for apache?
>
>I have multipal domain names: domain.net & domain.org. I would like to
>configure apache such that when someone goes to www.domain.org, they are
>"redirect" to www.domain.net. They are both the exact same web site, I
>simply want the domain name to show up as www.domain.net. Any thoughs
>on how to do that?
>
>Sam
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
Kurth Bemis - Senior Linux Network/Systems Administrator, USAExpress.net
kurth@usaexpress.net
http://www.usaexpress.net/kurth
ICQ - 6624050
Call Sign - N1TYW
PGP key available - http://www.usaexpress.net/kurth/pgp
Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net
(http://www.distributed.net)