You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roland Stumpner <ap...@nestec.at> on 2004/10/14 14:25:36 UTC
[users@httpd] What happend to the URLs in mod_proxy_html
Hello Everyone !
A while ago (3 weeks) i need to fix an iis bug , missmarketing whatever. I doesn´t know and I couldn´t find anybody who knows , how to change the IIS-Sharepoint Server to write FQDN or faked IP to his generated URL´s that i could Reverse Proxy our shop solution with apache2.
So I found the apache 3rd Party Module mod_proxy_html which I found it schould be a great solution for me. After a libxml2 update and some compile hints i get a redy for work module .
Config was no prob. its very simple work.
BUT: What did the mod_proxy_html Module do ?
I used the Regex Part of the Module to get shure to translate everything . For the most html code it worked fine , for some not , and I don´t know why .
As I told most of the URL´s where translated fine . (Javascript is fine)
At this time i can say that when the URL is in a Frameset (html tag is <frame>) the URL:
http://localip/200/cgi-bin/shop.dll?sessionid=00413948039058596&AnbieterID=2&rndid=86391324&nebenseite=links.htm
becomes this:
http://my.domain.at/200/cgi-bin/shop.dll?sessionid=00413948039058596&AnbieterID=2&rndid=86391324&nebenseite=links.htm
What the hell is the amp; in this URL how comes that .
Ok, I am going for deguging it must be some charset thing .
No in short at last i found somewhere in the net that & is a & in XML or so .
Mutch more time later i get it maybe . There was (is) a bug in the libxml2 lib that it translates normal & in & i don´t know. I get the latest xmllib2-cvs-snapshot and run another compile time . Nothing its alwas the same .
So i don´t know who is the bad guy xmllib2 mod_proxy_html apache2 the ms shit some charset weered dung .
Is Anybody out there who is able to help , is this bug (what ever) known ? Is there some hint to fix this ?
Greetings from
***************************************
Roland Stumpner
NEStec Logistics Scharf OEG
http://www.nestec.at
Distribution GFi Software (www.gfisoftware.at)
Bakbone (Netvault), pdfMachine (broadgun) und
message master (Derdack)
***************************************
Re: [users@httpd] What happend to the URLs in mod_proxy_html
Posted by Robert Andersson <ro...@profundis.nu>.
What happend to the URLs in mod_proxy_html[plain text, please...]
Roland Stumpner wrote:
> At this time i can say that when the URL is in a Frameset (html
> tag is <frame>) the URL:
> http://localip/200/cgi-bin/shop.dll?sessionid=00413948039058596&AnbieterID=2&rndid=86391324&nebenseite=links.htm
>
> becomes this:
> http://my.domain.at/200/cgi-bin/shop.dll?sessionid=00413948039058596&AnbieterID=2&rndid=86391324&nebenseite=links.htm
>
> What the hell is the amp; in this URL how comes that .
Sorry, I don't see any & there. However, having a link like <a
href="abc?foo=1&bar=2"> is invalid (X)HTML. Ampersand (&) is a sort of
escape character, so in order get a literal ampersand in any (X)HTML data,
it must be written as &.
I'm not sure exactly what your problem is though.
Regards,
Robert Andersson
---------------------------------------------------------------------
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