Re: Proxy to different port

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

 



On Mon, Oct 24, 2011 at 9:12 AM, Josu Lazkano
<josu.lazkano@xxxxxxxxxxxxxxxxxx> 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@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