MapServer file locations

imap at chesapeake.net imap at chesapeake.net
Mon Oct 23 01:29:55 PDT 2000



Lyndon,

I set up this demo on a RedHat 7 system last week...
My layout is a little different, but I put the HTML stuff and
data in /home/httpd/ms_demo and the lone "mapserv" file in my cgi-bin.  
mapserv.ini is long gone, so you should *not* see that anyplace.
I edited the HTML template (demo_init.html references to 
action= and map= to point to the right places)

Make sure that you can run CGI scripts, etc from your Apache
cgi-bin area.   The mapfile parameter for IMAGEPATH needs to 
somewhere in Apache's document root and needs to have "write"
permissions for the webserver httpd user.

Perry posted some demo documentation a couple of hours ago.
This should be a good exercise for checking the docs for accuracy.
I'd recommend following it to the letter, and see where you end up.
Remember to check your httpd error_log to catch debug clues.

-Chris


Lyndon Zimmermann wrote:
> 
> Greetings,
> 
> We decided to run with RedHat Linux 7.0 for the MapServer and have that
> going in a dual boot NT/Linux mode.  I've tried installing MapServer
> from the http://www2.dmsolutions.on.ca/mapserver/dl/ binaries website
> but am not sure of file locations.
> 
> The dmsolutions site has no instructions and the README.CONFIGURE file
> doesn't specify locations.
> 
> Web root is /var/www/html so I've put the demo in
> /var/www/html/ms_demo.  I think this is right, and it's accessible to
> the browser.
> 
> I put the entire mapserv subdirectory in /var/www/cgi-bin, so the path
> to the mapserv binary is /var/www/cgi-bin/mapserv/mapserv.  I don't
> think this is right
> (demo.html has <form method=GET action="/cgi-bin/mapserv">, and I
> presume this "mapserv" is the binary) but haven't found any doco telling
> me the correct locations.  Perhaps the bulk goes into /usr/local/mapserv
> and the mapserv binary goes in /var/www/cgi-bin/ on it's lonesome.
> 
> The demo.map listing includes IMAGEPATH "/usr/local/apache/htdocs/tmp/"
> and the doco says this was previously set in the mapserv.ini file.  I
> couldn't find a mapserv.ini file and suspect I may have to set the
> IMAGEPATH directory referred to up in the Apache server configuration
> file.
> 
> There was reference to a whole lot of other files - fonts, PROJ.4, TIFF
> etc.  I don't know where they go and not particularly concerned at this
> stage.
> 
> Any assistance would be appreciated.
> 
> Regards,
> 
> Lyndon Z
> --
> Lyndon Zimmermann
> BE (Mech Adelaide) Grad Dip Bus Admin (UniSA)
> 
> Biomass Energy Atlas for Australia Co-ordinator
> University of Adelaide Agronomy and Farming Systems
> Dir (GISCA) +61-8-8303 3975 Switch (GISCA) 8303 3900 Mob 0414 91 4577
> Fax (GISCA) +61-8-8303 3498 email lyndon.zimmermann at adelaide.edu.au
> 
> Adelaide Uni Bioenergy Website:
> http://www.gisca.adelaide.edu.au/~lzimmerm/uofabioenergy/bioenergy.html
> Biomass Energy Atlas Website:
> http://sg211.gisca.adelaide.edu.au/bioenergy_atlas/html/atlas_index.html



More information about the MapServer-users mailing list