httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Proxy to different port
Date Mon, 24 Oct 2011 09:41:29 GMT
On Mon, Oct 24, 2011 at 9:12 AM, Josu Lazkano
<josu.lazkano@barcelonamedia.org> wrote:
>
> Thanks Igor, this my aenables mods:
>
> <snip>
>
> The mod_proxy is enabled, it works well on first link, but not on
> others. It looks that is a html code problem.
>
> Thanks and best regards.

He didn't say "mod_proxy", he said "mod_proxy_html". mod_proxy_html is
a 3rd party module which transforms the HTML fetched from a proxy, and
rewrites it so that the links point at the correct locations.

You can use google to find out more.

However, it is usually easier to just do it the easy way. If you have
a site that you want proxied under /site, make the backend server
serve it from /site:

ProxyPass /site/ http://localhost:81/site/
ProxyPassReverse /site/ http://localhost:81/site/


Cheers

Tom

PS Why use port 81? Its a low port, so you need extended privileges to
bind to it. Use something in the 80** range.

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