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/07 20:23:57 UTC
[users@httpd] redirect/rewrite
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
[users@httpd] Re: redirect/rewrite
Posted by Mandy Singh <ma...@gmail.com>.
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] redirect/rewrite
Posted by Joshua Slive <jo...@slive.ca>.
On Feb 7, 2008 2:23 PM, 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?
Your question isn't really clear to me. Why don't you give a list of
real specific examples on how you want the content to be handled.
Joshua.
---------------------------------------------------------------------
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