httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josu Lazkano <josu.lazk...@barcelonamedia.org>
Subject [users@httpd] Proxy to different port
Date Mon, 24 Oct 2011 07:51:52 GMT
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@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