PDA

View Full Version : query url changes to "search.cgi?zoom%255Fquery="


isd
10-28-2008, 02:33 AM
hello,
i observe my url changes after i hit enter, im using flash search box and this works be4 i move servers (or maybe with older zoom build?) im using two swf boxes for example this one: http://olca.biz/calle-alcolea.htm searches ok.
but one on results page (http://olca.biz/cgi-bin/search.cgi) changes url to: http://olca.biz/cgi-bin/search.cgi?zoom%255Fquery=albacete
please help me to find out why it happens.

thank you very much for your help in advance
ewa

zoom version 5.1 build 1017

Ray
10-28-2008, 03:46 AM
See this previous forum thread (http://www.wrensoft.com/forum/showthread.php?t=1600).

The CGI should be picking up the value nonetheless. And you should notice that on the page where it is working - the URL is also "zoom%255Fquery". So this isn't the problem.

The problem is the SWF search form you are using is relying on a relative path to the CGI. It expects to be on a page which is one level up from the "cgi-bin" folder. So when you click on the search button on the results page, it went to: "http://olca.biz/cgi-bin/cgi-bin/search.cgi?zoom%5Fquery=blah"

You need to change your SWF to use an absolute path, or something like "/cgi-bin/search.cgi"

isd
10-28-2008, 08:40 AM
hello Ray,

thank you very much for your quick answer, yes i recognized this mornig all my sins :)
first - working till late time
second - my computer cache

as the result i make few mistakes trying again and again, also changing url to relative:oops:...

thank you very much again
ewa