You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andre Luciano Domingues <an...@yahoo.com> on 2004/02/04 20:08:57 UTC

[users@httpd] Apache redirect to other server

Hi,
 
I am very new to Apache HTTP Server. I have the need to configure an Apache Server to redirect some request to another server mantaining the URL:
 
http://www.xxx.com/blablabla/* -> http://10.10.10.10:7001/blablabla/*
 
but I want the browser continues showing http://www.xxx.com/blablabla/*.
 
I see the redirect and mod_rewrite directives, but I don't figure out how to do this.
 
Thanks in advance,
 
Andre Luciano Domingues.
 


Andre Luciano Domingues
andre_luciano_domingues@yahoo.com

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: [users@httpd] Apache redirect to other server

Posted by BAO RuiXian <ru...@pp.inet.fi>.

Andre Luciano Domingues wrote:

> Hi,
>  
> I've just found this solution, and was about to ask if this is the 
> better way to do that.

I think that is the only way to achieve what you want, so whether it is 
better or not is out of question, I guess:)

Best

Bao

>  
> Thank you.
>
> BAO RuiXian <ru...@pp.inet.fi> wrote:
>
>
>
>     Andre Luciano Domingues wrote:
>
>     > Hi,
>     >
>     > I am very new to Apache HTTP Server. I have the need to
>     configure an
>     > Apache Server to redirect some request to another server mantaining
>     > the URL:
>     >
>     > http://www.xxx.com/blablabla/* ->
>     http://10.10.10.10:7001/blablabla/*
>     >
>     > but I want the browser continues showing
>     http://www.xxx.com/blablabla/*.
>     >
>     > I see the redirect and mod_rewrite directives, but I don't
>     figure out
>     > how to do this.
>
>     I think the proxy directive is exactly what you want ot achieve this
>     purpose.
>
>     Best
>
>     Bao
>
>     >
>     > Thanks in advance,
>     >
>     > Andre Luciano Domingues.
>     >
>     >
>     >
>     > Andre Luciano Domingues
>     > andre_luciano_domingues@yahoo.com
>     >
>     ------------------------------------------------------------------------
>     > Do you Yahoo!?
>     > Yahoo! SiteBuilder - Free web site building tool. Try it!
>     >
>
> <http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/>



---------------------------------------------------------------------
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


Re: [users@httpd] Apache redirect to other server

Posted by Andre Luciano Domingues <an...@yahoo.com>.
Hi,
 
I've just found this solution, and was about to ask if this is the better way to do that.
 
Thank you.

BAO RuiXian <ru...@pp.inet.fi> wrote:


Andre Luciano Domingues wrote:

> Hi,
> 
> I am very new to Apache HTTP Server. I have the need to configure an 
> Apache Server to redirect some request to another server mantaining 
> the URL:
> 
> http://www.xxx.com/blablabla/* -> http://10.10.10.10:7001/blablabla/*
> 
> but I want the browser continues showing http://www.xxx.com/blablabla/*.
> 
> I see the redirect and mod_rewrite directives, but I don't figure out 
> how to do this.

I think the proxy directive is exactly what you want ot achieve this 
purpose.

Best

Bao

> 
> Thanks in advance,
> 
> Andre Luciano Domingues.
> 
>
>
> Andre Luciano Domingues
> andre_luciano_domingues@yahoo.com
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it! 
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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


Andre Luciano Domingues
andre_luciano_domingues@yahoo.com

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: [users@httpd] Apache redirect to other server

Posted by BAO RuiXian <ru...@pp.inet.fi>.

Andre Luciano Domingues wrote:

> Hi,
>  
> I am very new to Apache HTTP Server. I have the need to configure an 
> Apache Server to redirect some request to another server mantaining 
> the URL:
>  
> http://www.xxx.com/blablabla/* -> http://10.10.10.10:7001/blablabla/*
>  
> but I want the browser continues showing http://www.xxx.com/blablabla/*.
>  
> I see the redirect and mod_rewrite directives, but I don't figure out 
> how to do this.

I think the proxy directive is exactly what you want ot achieve this 
purpose.

Best

Bao

>  
> Thanks in advance,
>  
> Andre Luciano Domingues.
>  
>
>
> Andre Luciano Domingues
> andre_luciano_domingues@yahoo.com
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it! 
> <http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/> 



---------------------------------------------------------------------
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