Proxy to different port

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

 



Hello list, I am trying to proxy a web interface on 81 port
(http://host:81) to a site on my Apache (http://host/SITE) on same
server.

This is the site configuration that I try:

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

      <Location /site>
              Order allow,deny
              Allow from all
      </Location>

I have problem with html links, this is the html code:

<input type="button" value="Start" onclick="parent.location='/'">
<input type="button" value="Link" onclick="parent.location='/link'">

If I go to http://host/site, the web looks well. But on the "Start" link
it goes to http://host/ and on "Link" goes to http://host/link, and I
need to go to http://host/site/ and http://host/site/link.

Should I use and other module or directive?

Thanks for your help, regards.

--
Josu Lazkano


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