Put none in quotes ("none") and you'll be good to go.
By the way, don't forget to CC the list when replying.
-Perry
[EMAIL PROTECTED] wrote:
Thanks for the additional info Perry,
Here is the code from the map file at Line 44
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
MINSCALE 1000
MAXSCALE 1550000
IMAGEPATH "set in demo_init.html"
IMAGEURL "set in demo_init.html"
METADATA
WMS_TITLE "UMN MapServer Itasca Demo"
WMS_ABSTRACT "This is the UMN MapServer demonstration application for
Itasca County located in north central Minnesota."
WMS_ACCESSCONSTRAINTS none <--Line 44
# change this value to match your setup
WMS_ONLINERESOURCE
"http://localhost/mapserver_demos/itasca/demo_init.html"
WMS_SRS "EPSG:26915"
END
END
Thanks again,
Eric
"Pericles S.
Nacionales"
<[EMAIL PROTECTED] To
> [EMAIL PROTECTED]
cc
02/22/2006 09:46 [email protected]
AM Subject
Re: [UMN_MAPSERVER-USERS] Itasca
demo and Ms4w
The message you got means there's some obsolute KEYWORD values in the
mapfile. I don't have the demo files in my computer so if you can post
the few lines above and below line 44, I might be able to help.
As an aside, you can certainly put the demo files under
/ms4w/apache/htdocs. Or you might as well follow the way it's done in
MS4W:
1. unzip demo under /ms4w/apps/
2. create a file called httpd_demo.conf (or whatever you want to called
it, just make sure to prepend with httpd_) and add these lines to it:
#This is the Apache config file for the MapServer Demo application.
Alias /itasca "/ms4w/apps/itasca"
<Directory "/ms4w/apps/itasca">
AllowOverride None
Options Indexes MultiViews
Order allow,deny
Allow from all
</Directory>
3. Restart Apache service
4. Edit the demo_init.html and relevant files and replace the paths with
the proper ones
5. Check that the demo is running at http://localhost/itasca.
Good luck!
-Perry
D. Eric Keefauver wrote:
New and just getting started with ms4w on my local windows machine
Where should one dump the itasca files to get the demo up and running:
C:\ms4w\Apache\htdocs?
I have placed the itasca data in the following:
C:\ms4w\Apache\htdocs\mapserver_demos\itasca
And within the map file I changed this line to:
# change this value to match your setup
WMS_ONLINERESOURCE
"http://localhost/mapserver_demos/itasca/demo_init.html"
At: http://localhost/mapserver_demos/itasca/demo_init.html and
clicking
the Initialize button I get the following error
getString(): Symbol definition error. Parsing error near (none):(line 44)
what am I doing wrong?
thanks in advance and bearing with a complete newbie
Eric
.
.