Re: [users@httpd] help work with Proxy pass option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> 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:bsenthil@xxxxxxxxx]
Sent: Thursday, January 05, 2006 6:54 AM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux