proxy

proxy

am 06.09.2009 16:51:03 von pch0317

Hello
I want to make reverse proxy in my machine.
I type as in the example:

| ProxyRequests Off


Order deny,allow
Allow from all


ProxyPass /search http://google.com/
ProxyPassReverse /search http://google.com/ |

when I enter a URL http://mymachine.com/search

google site appears but without images.
What I must do to see the image?

Thanks

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

Re: proxy

am 06.09.2009 17:59:32 von Eric Covener

On Sun, Sep 6, 2009 at 10:51 AM, pch0317 wrote:
> Hello
> I want to make reverse proxy in my machine.
> I type as in the example:
>
> | ProxyRequests Off
>
>
> Order deny,allow
> Allow from all
>

>
> ProxyPass /search http://google.com/
> ProxyPassReverse /search http://google.com/ |

Make the trailing slashes "agree" on both args (both or none)

--
Eric Covener
covener@gmail.com

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

Re: proxy

am 06.09.2009 18:12:17 von aw

Eric Covener wrote:
> On Sun, Sep 6, 2009 at 10:51 AM, pch0317 wrote:
>> Hello
>> I want to make reverse proxy in my machine.
>> I type as in the example:
>>
>> | ProxyRequests Off
>>
>>
>> Order deny,allow
>> Allow from all
>>

>>
>> ProxyPass /search http://google.com/
>> ProxyPassReverse /search http://google.com/ |
>
> Make the trailing slashes "agree" on both args (both or none)
>

I guess it can also be that the links to the images, which are present
in the original page you obtain from google.com, do not start with
"/search/".
mod_proxy will not magically rewrite links that are internal to the html
page.


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