Re: Re: redirecting a domain

From: Date: Thu, 27 Mar 2003 15:25:04 +0000
Subject: Re: Re: redirecting a domain
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-141236@lists.php.net to get a copy of this message
On Thursday 27 March 2003 07:25, Dan wrote: > On Fri, 14 Jul 2000 22:26:05 -0400, bogus@news.php.net (Unknown > > Sender) 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 > > The easiest way is to put this in you index.html file without the > comment markup of course. > > <!-- > <META HTTP-EQUIV="REFRESH" CONTENT="0" > URL="http://www.domain.net/homepage.html"> > --> The best way if you don't really need the redirect is to use Apache's ServerAlias directive. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Three hours a day will produce as much as a man ought to write. -- Trollope */

« previous php.general (#141236) next »