Hi Axel,

Thanks for your response.

As you suggest I configured .
ProxyPass / http://www.yahoomail.com/

Yes It works fine. when i type http://hostname:8080/ then it redirect to www.yahoomail.com.

=== ==========

I want to build my apache as gateway server. the end user can assess the external domain like
www.test.comwww.yahoo.com  , www.apache.com through my apache gateway server.

Browser <====> My gateway server ::8080 <==> external domain

1. I established the connection to my gateway server http://gatewayserver:8080

Here my question is which is the best way to redirect the request to the external domain through my apache server? and how?

I am not sure is it possible way to transfer the request
a. the requested external domain url as pass as the url string string like http://localhost:8080/www.test.com

I configured
ProxyPass / http://
It works.

Problem::
The targeted url www.test.com refer the background image with respect to relative url like this
 background="images/bg.gif". So that i can't able to retriew it by http://localhost:8080/www.test.com.
If I access the url directly www.test.com. The backgroung image retriewed and it shows fine.

Please help me to resolve the problem....and Please suggest if u have any sample for gateway server.

Regards,
skumar

On 1/5/06, Axel-Stéphane SMORGRAV <[EMAIL PROTECTED]> wrote:

ProxyPass / http://www.yahoomail.com/

will pass all requests to www.yahoomail.com

You may also want to add

ProxyPassReverse / http://www.yahoomail.com/

-ascs
________________________________

From: senthil kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 05, 2006 6:54 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] help work with Proxy pass option


Hi,

Is it possible to redirect all my request to  particular domain  and get response back to browser

Example::

req1 ===> http://hostname:8080/app1           -> It want to be redirect to www.yahoomail.com
req2 ===> http://hostname:8080/app2           -> it want to be redirect to www.yahoomail.com

To achieve this i configured in httpd.con file like below, but i cann't succeed.

Proxypass /* http://www.yahoomail.com

Note:: Here i am trying to achive by reqular _expression_ string (/*). but it failed.. it response only for the request http://hostname:8080/*

Please suggest ur views.

Thanks,
bsenthil.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to