httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] help work with Proxy pass option
Date Thu, 05 Jan 2006 14:01:14 GMT
I am not sure I understood all of that, but...
 
When it comes to the yahoomail stuff, the reason you get redirected to www.yahoomail.com is
that you are missing the ProxyPassReverse directive.
 
ProxyPassReverse / http://www.yahoomail.com/
 
However, I am not quite sure that what you actually want is a REVERSE proxy. You may just
want a plain old proxy.

In that case you need something like:

    ProxyRequests On
    <Proxy *>
        Order Allow,Deny
        Allow from all
    </Proxy>

In addition to this, you need to configure your browser to point to the proxy.

-ascs

________________________________

From: senthil kumar [mailto:bsenthil@gmail.com] 
Sent: Thursday, January 05, 2006 2:04 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] help work with Proxy pass option


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.com ,  www.yahoo.com <http://www.yahoo.com/>   <http://www.orkut.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 <https://localhost: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
<https://localhost:8080/www.yahoo.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
<https://localhost:8080/www.yahoo.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


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


Mime
View raw message