mod_proxy_html, Rewriting form values

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

 



Needing to rewrite the following form value:
<input name="RedirectTo"
value="/quickplace/quickplace/main.nsf?OpenDatabase" type="hidden">

To:
<input name="RedirectTo"
value="/qp/quickplace/quickplace/main.nsf?OpenDatabase" type="hidden">


Current Configuration:
ProxyPreserveHost On
ProxyPass /qp/ http://server.abc.com/
ProxyHTMLURLMap http://server.abc.com /qp
<Location /qp/>
       RequestHeader    unset  Accept-Encoding
       ProxyPassReverse /
       SetOutputFilter proxy-html
       ProxyHTMLURLMap  /      /qp/
       ProxyHTMLURLMap  /quickplace      /qp/
       ProxyHTMLURLMap  /qp  /qp
       ProxyHTMLLogVerbose On
</Location>

Have also tried the following configuration.  Which rewrites alot of
javascript code and never updates the form value.

ProxyPreserveHost On
ProxyPass /qp/ http://server.abc.com/
ProxyHTMLURLMap http://server.abc.com /qp
<Location /qp/>
       RequestHeader    unset  Accept-Encoding
       ProxyPassReverse /
       SetOutputFilter proxy-html
       ProxyHTMLURLMap  /      /qp/
       ProxyHTMLURLMap  /quickplace      /qp/
       ProxyHTMLURLMap  /qp  /qp
       ProxyHTMLExtended On
       ProxyHTMLLogVerbose On
</Location>

Can mod_proxy_html handle rewriting values inside of a form?  I have a
feeling my issue is with the below error in the Apache log:

Non-HTML content; not inserting proxy-html filter, referer:
http://server.abc.com/qp/quickplace/quickplace/main.nsf?OpenDatabase&Login

Doing a packet trace shows the content-type is not defined.  Not sure
what can be done at this point.

Thanks,
Jack

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