logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: mod proxy html skips char after Dot "." in html cu
Author
faraz.pk



Joined: 08 Jan 2010
Posts: 2

PostPosted: Fri 08 Jan '10 14:46    Post subject: mod proxy html skips char after Dot "." in html cu Reply with quote

Apache mod proxy html skips characters after Dot "." in html custom attributes in DIV. We are using zk spreadsheet in project. ZK inserts custom attributes in Div like zs.t, z.h, z.r etc.

Without using mod proxy div attributes are following.
<div class="zscell" z.c="7" z.r="10" zs.t="SCell" >

after using mod proxy line is.
<div class="zscell" z="" zs="">

behind the proxy, "." operator and all other characters after "." are skipped.

I configured necessary configuration in httpd.conf but still facing problem.

ProxyHTMLExtended On
ProxyRequests off

ProxyPass /app1/ http://localhost:8080/myApp/
ProxyPassReverse /app1/ http://localhost:8080/myApp/
<Location /app1/>
ProxyPassReverse /
ProxyPassReverseCookiePath /myApp /app1
SetOutputFilter proxy-html
ProxyHTMLDoctype "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">" XML
ProxyHTMLURLMap /myApp/ /app1/
</Location>

Error log doesn't show any error regarding this. Do I need any specific configuration to resolve this problem?

Thanks,
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Fri 08 Jan '10 18:12    Post subject: Reply with quote

if you use apache as a plain reverse proxy without mod_proxy_html are than there the dots?
Back to top
faraz.pk



Joined: 08 Jan 2010
Posts: 2

PostPosted: Tue 12 Jan '10 15:05    Post subject: Reply with quote

James Blond wrote:
if you use apache as a plain reverse proxy without mod_proxy_html are than there the dots?


I am using mod_proxy_html to rewrite HTML links. without mod_proxy_html page is not working correctly. Is there any solution to resolve this problem with using mod_proxy_html.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7306
Location: Germany, Next to Hamburg

PostPosted: Tue 12 Jan '10 16:38    Post subject: Reply with quote

There is an "c" Option to ignore inline scripts and styles.

Please view the manual http://apache.webthing.com/mod_proxy_html/config.html
Back to top


Reply to topic   Topic: mod proxy html skips char after Dot "." in html cu View previous topic :: View next topic
Post new topic   Forum Index -> Apache