[mapserver-users] Works in Winnt but not Linux...

Michael Hearne Michael.Hearne at noaa.gov
Fri Jul 20 08:59:46 EDT 2001


Janet - If you really have & in your URL, the semicolon might be
causing a problem.  Good CGI programs are supposed to strip out all
semicolons so people can't use them to do something like:

"http://www.whatever.com/cgi-bin/doit.pl?x=50&y=65;cat /etc/passwd"

If, on the other hand, the & is just an artifact of you pasting the
URL into your e-mail program, then your problem is something else
entirely.  :)

-Mike

Janet Ciavarelli wrote:
> 
> I have a particular line in my html file that works fine in WinNT with Apache.
> But this same line I cannot get to work in Linux running apache.
> Here is the line:
> 
> <img border="1" src="/cgi-bin/mapserv?map=/ms_demo/example8.map&amp;mode=map&amp;layer=city_property&amp;layer=pothole&amp;layer=city_streets&amp;imgext=$ar{imgext}&amp;imgbox=$ar{imgbox}&amp;imgxy=$ar{imgxy}">
> 
> I've tried modifying this line in several different ways. I've even tried creating an error in the example8.map file and seeing if at the very least it will choke on it. It doesn't even do that. It's like it's just not even executing the mapserv executable. Yet I know the mapserv executable works cause it is called properly on a "SUBMIT".
> 
> Any ideas why this line is not executing the mapserv command?
> 
> Janet.

-- 
Michael G. Hearne     	  	email: Michael.Hearne at noaa.gov  
Coastal Remote Sensing  		phone: 843 740-1281             
TPMC/NOAA Coastal Services Center	fax:   843 740-1312       
2234 S. Hobson Ave.,    Charleston, SC 29407



More information about the mapserver-users mailing list