On Thursday 27 March 2003 07:25, Dan wrote:
> On Fri, 14 Jul 2000 22:26:05 -0400, [EMAIL PROTECTED] (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
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to