Need help with mod_proxy_html to re-write URL

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

 



Almost there……  Here is the section of my httpd.conf that applies to the proxy config.   I need to rewrite the html links on some of the pages from http to https, that’s all.  It seems simple but I’ve apparently got the syntax wrong (last line).

 

Thanks, Jeff

 

 

DocumentRoot "/opt/apache/htdocs"

ProxyRequests Off

ProxyPreserveHost On

ProxyPass /dealer/ http://10.2.1.2/dealer/

ProxyPassReverse /dealer/ http://10.2.1.2/dealer/

ProxyPass /icons/ http://10.2.1.2/icons/

ProxyPassReverse /icons/ http://10.2.1.2/icons/

ProxyPass /cgi-bin/ http://10.2.1.2/cgi-bin/

ProxyPassReverse /cgi-bin/ http://10.2.1.2/cgi-bin/

ProxyPass / http://10.2.1.2/

ProxyPassReverse / http://10.2.1.2/

 

LoadFile /usr/lib/libxml2.so

LoadModule proxy_html_module modules/mod_proxy_html.so

ProxyHTMLURLMap  http:// https://

 


[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