[thelist] apache redirect from one domain to another

Seamus seamuscawley at gmail.com
Thu Nov 4 11:40:09 CST 2004


you could use a .htaccess file (i think) or just put a php page in
each directory that will change the headers

eg
<?
Header('Location: http://YOUR NEW DOMAIN'.$QUERY_STRING);
?>
Pretty transparent


On Thu,  4 Nov 2004 10:04:20 -0600, evolt at mccullough-net.com
<evolt at mccullough-net.com> wrote:
> Yes.  Basically the .com and the .net are the same site and same code.  It
> should be that the .com domain takes all request and the .net just allows
> customers with that domain to get to the .com domain.
> 
> 
> 
> Quoting Robert Gormley <robert at pennyonthesidewalk.com>:
> 
> > > out.  I need to make the two domains redirect to one set of code, I need
> > > to
> > > have the links in the one site if someone has bookmarked redirect to the
> > > home
> >
> > Are both sites served by the one Apache process?
> >
> > --
> >
> > * * Please support the community that supports you.  * *
> > http://evolt.org/help_support_evolt/
> >
> > For unsubscribe and other options, including the Tip Harvester
> > and archives of thelist go to: http://lists.evolt.org
> > Workers of the Web, evolt !
> >
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> --
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


More information about the thelist mailing list