You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by andrea pirani <an...@gmail.com> on 2008/07/30 16:39:50 UTC
[users@httpd] mod_proxy_html doesn't work
hi all
my mod_proxy_html doesen't work.
I configured Apache with a virtual host with mod_proxy and
mod_proxy_html but absolute links aren't rewitten.
For example If I call:
http://wps61.domain.it/ciccio/test.html
I open a proxed page on srvvph1 server, but the link:
<a href="http://srvvph1.vph.loc/site/sitepage.html">link assoluto</a>
remains referred tu srvvph1 and not to wps61.domain.it.
What's the problem?
Here my configuration... every suggestion is appreciated
angapi
Apache 2.2 on Windows 2003
mod_proxy_html 3.0.0.0
from http://ferienhaus-seenland.de/apache/mod_proxy_html-3.0.0-w32.zip
I copied iconv.dll, libxml2.dll, mod_proxy_html.so to Apache2.2/
modules/mod_proxy_html
Also I copied httpd.exe.manifest to Apache2.2/bin
I ran Visual C++ 2005 SP1 Redistributable Package
httpd.conf
ProxyHTMLLinks a href
ProxyHTMLLinks area href
ProxyHTMLLinks link href
ProxyHTMLLinks img src longdesc usemap
ProxyHTMLLinks object classid codebase data usemap
ProxyHTMLLinks q cite
ProxyHTMLLinks blockquote cite
ProxyHTMLLinks ins cite
ProxyHTMLLinks del cite
ProxyHTMLLinks form action
ProxyHTMLLinks input src usemap
ProxyHTMLLinks head profile
ProxyHTMLLinks base href
ProxyHTMLLinks script src for
ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
onmouseover onmousemove onmouseout onkeypress \
onkeydown onkeyup onfocus onblur onload \
onunload onsubmit onreset onselect onchange
......
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadFile modules/mod_proxy_html/zlib.dll
LoadFile modules/mod_proxy_html/iconv.dll
LoadFile modules/mod_proxy_html/libxml2.dll
LoadModule proxy_html_module modules/mod_proxy_html/mod_proxy_html.so
ProxyHTMLLogVerbose On
LogLevel Debug
.......
<VirtualHost *:80>
ServerName wps61.domain.it
ProxyRequests Off
ProxyPass /ciccio/ http://srvvph1.vph.loc/
ProxyPassReverse /ciccio/ http://srvvph1.vph.loc/
ProxyHTMLURLMap http://srvvph1.vph.loc /ciccio
<Location /ciccio/>
SetOutputFilter proxy-html
ProxyHTMLURLMap / /ciccio/ ec
ProxyHTMLURLMap /ciccio /ciccio ec
ProxyHTMLURLMap (['"])/ $1/ciccio/ Rh
</Location>
</VirtualHost>
---------------------------------------------------------------------
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