example1-9 doesn't work in browse mode

Sa šo Celarc saso.celarc at HERMES-PLUS.SI
Mon Dec 6 01:50:19 EST 2004


I have problems with example example1-9.html and other examples, where
the »browse« mode start.

When opening D:\gis_projekti\freegis\mapserver\doc\tutorial\example1-
9.html, the first frame shows nice map but second frame is empty. When I
click on it I get:

1.In browser's URL:
http://localhost/cgi-bin/mapserv?map=%5Bmap%5D&imgext=%5Bmapext%
5D&imgxy=199.5+149.5&zoom=1&mode=browse&img.x=197&img.y=99

2.In browser's window:
msEvalRegex(): Regular expression error. String ([map]) failed expression
test.

On the other side for »map« mode using URL: http://sasoc/cgi-bin/mapserv?
map=D:\gis_projekti\freegis\mapserver\doc\tutorial\example1-9.map&mode=map
I get picture, but for
http://localhost/cgi-bin/mapserv?
map=D:\gis_projekti\freegis\mapserver\doc\tutorial\example1-
9.map&mode=browse i get the »message msSaveImage(): Unable to access file.
(/data/tmp/EX1.9_11022781551536.png)«

In Apache's httpd.conf I have:

Alias /data/ "D:\oracle/ora92/Apache/Apache/htdocs/data/"
Alias /data/tmp/ "D:\oracle/ora92/Apache/Apache/htdocs/data/tmp/"

I think there is a mess with /data/tmp/ phisical location and/or web server
alias. I tried this on versions 4.2.3 and  4.4. for Win32 but result is the
same.

Do you have idea what is wrong ?


Regards,
Sašo Celarc



More information about the mapserver-users mailing list