Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: ProxyPassReverse not working...

  1. #11
    Join Date
    Jul 2009
    Location
    Beautiful N. West
    Beans
    23
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: ProxyPassReverse not working...

    Quote Originally Posted by cdenley View Post
    I understand now. You need to alter the page so links such as "/path/to/file" are changed to "/test/path/to/file". You need something like this:
    Code:
    ProxyPass /test/ http://www.google.com/
    ProxyPassReverse /test/ http://www.google.com/
    SetOutputFilter INFLATE;proxy-html;DEFLATE
    ProxyHTMLURLMap / /test/
    !!!!!~ THANK YOU~ it works perfectly~

    I'm pretty new to all of this stuff, and the jargon (http://httpd.apache.org/docs/2.2/mod...etoutputfilter) makes it difficult for me to understand the underlying concepts.. do you think you can explain to me (as if i was 7yrs old), what SetOutputFilter INFLATE;proxy-html;DEFLATE is doing?

    I know that the SetOutputFilter Directive is changing the links to include /test/, (still a little confused..) but what about INFLATE, proxy-html, DEFLATE?

    Just curious for future reference..

    Thanks again!!

  2. #12
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: ProxyPassReverse not working...

    Quote Originally Posted by shirubia View Post
    do you think you can explain to me (as if i was 7yrs old), what SetOutputFilter INFLATE;proxy-html;DEFLATE is doing?
    With mod_proxy_html < version 3.1, you have to use "SetOutputFilter" to actually tell apache to pass documents through mod_proxy_html. However, if the user's browser supports compression, then google's web server will serve the page compressed, which mod_proxy_html will not be able to understand. That line decompresses documents (if compressed), runs it through proxy-html, then recompresses it (if supported).

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •