Re: [mapserver-users] Automatically Clearing Old Map Images

2009-04-28 Thread jchampagne2
Thank you! I did a little research, and writing a .bat file to execute as a scheduled task is exactly what I needed. The file is simple: @echo off cd C:\OSGeo4W\tmp\ms_tmp del *.png cls echo Your MapServer cache has been cleared! echo. pause nul Saved as 'clearCache.bat' and added it as a

[mapserver-users] Automatically Clearing Old Map Images

2009-04-24 Thread jchampagne2
I'm attempting to set up a web page based on the old 'Itasca' demo, but I will probably be hosting it with very limited web space. Has anybody come up with some means or method to automatically clear out old map images once they are no longer needed? In just a couple of days of testing the

Re: [mapserver-users] msLoadMap() Unable to access file

2009-04-22 Thread jchampagne2
Ok, I finally figured this out. When you're editing the indicated lines in 'index.html', pay close attention in particular to the lines: snippet += IMAGEURL '/ms_tmp/'; and input type=hidden name=program value=/cgi-bin/mapserv.exe It's important to use the 'ScriptAlias' and alias for

Re: [mapserver-users] msLoadMap() Unable to access file

2009-04-21 Thread jchampagne2
I'm having similar difficulty with this ubiquitous demo. The offending part of my index.html file: function configure() { var template = document.demo.template.options[document.demo.template.selectedIndex].value; // EDIT THE NEXT 2 LINES TO MATCH YOUR SETUP