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

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

 



Hi Axel,

I am not looking for proxy concept, i don't want to configure my browser to point to my proxy server.
I am looking for gateway concept, I want to communicate external domain through my gateway apache server.

Browser <---------> My Gateway Apache Server  <-------------> External domain

Note:: My Gateway apache server internaly acts as a proxy server.

that's why the requested external domain url as pass as the url string like http://localhost:8080/www.test.com

thanks,
Senthilkumar.




On 1/5/06, Axel-Stéphane SMORGRAV <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:
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@xxxxxxxxx]
Sent: Thursday, January 05, 2006 2:04 PM
To: users@xxxxxxxxxxxxxxxx
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="" 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@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