You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mandy Singh <ma...@gmail.com> on 2008/02/08 16:13:00 UTC

[users@httpd] Re: redirect/rewrite

anyone?

On Feb 8, 2008 12:53 AM, Mandy Singh <ma...@gmail.com> wrote:

> how can i have www.one.com serve content from two.one.com but only for
> index page.
>
> else www.one.com/<anything> should be served from www.one.com domain only
> and two.one.com/<anything> should serve from two.one.com domain only.
>
> is mod_rewrite the way to go?
>

Re: [users@httpd] Re: redirect/rewrite

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 08.02.08 20:43, Mandy Singh wrote:
> anyone?
> 
> On Feb 8, 2008 12:53 AM, Mandy Singh <ma...@gmail.com> wrote:
> > how can i have www.one.com serve content from two.one.com but only for
> > index page.
> >
> > else www.one.com/<anything> should be served from www.one.com domain only
> > and two.one.com/<anything> should serve from two.one.com domain only.
> >
> > is mod_rewrite the way to go?

can't you just create two different virtual hosts and only use the same
index.html?
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org