Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: mod_proxy_html |
|
Author |
|
Saavedro
Joined: 12 Jan 2007 Posts: 1
|
Posted: Fri 12 Jan '07 14:42 Post subject: mod_proxy_html |
|
|
Hi there,
I have a big problem with mod_proxy_html. I'm using http://www.apachelounge.com/download/ the file mod_proxy_html-2.5.2-w32.zip.
The configuration looks like this:
Code: | ProxyHTMLExtended On
ProxyHTMLDoctype XHTML
ProxyPass /tnt http://localhost:8000/seaside/tnt
ProxyPassReverse /tnt http://localhost:8000/seaside/tnt
ProxyHTMLURLMap http://localhost:8000/seaside/tnt /tnt L
ProxyHTMLURLMap /seaside/tnt /tnt |
Within the page, there are multiple occurences of "/seaside/tnt" which are replaced correctly. But there is also a String within a JavaScript:
Code: | <select onchange="new Ajax.Updater('route-form','http://localhost:8000/seaside/tnt',{'parameters':['19',Form.serialize('routelist_form')].join('&'),'evalScripts':true});new Ajax.Updater('mapUpdate','http://localhost:8000/seaside/tnt',{'asynchronous':false,'parameters':['_s=VCgNZVxzjrtOYblp','_k=MinYfvWJ','20'].join('&'),'evalScripts':true})" name="21" id="route-title-list"> |
It is replaced to:
Code: | <select onchange="new Ajax.Updater('route-form','/tnt',{'parameters':['19',Form.serialize('routelist_form')].join('&'),'evalScripts':true});new Ajax.Updater('mapUpdate','http://localhost:8000/seaside/tntmeters':['_s=VCgNZVxzjrtOYblp','_k=xivixWJp','20'].join('&'),'evalScripts':true})" name="21" id="route-title-list"> |
As you can see, the first replacement works fine. But the second one has been screwed up. Nothing was replaced, but a part the code, which sould not be replace was overwritten.
Does anyone have an idea why? Is there a big bug in the module?
Regards. |
|
Back to top |
|
|
|
|
|
|