|
||||
[maplab-users] Re: MapLab setup questionJeff McKenna mckenna@dmsolutions.caThu, 05 Jun 2003 10:39:27 -0400
|
Hi Peter, You are right, it does have to do with the httpd.conf Apache file. When we say "Edit your web server configuration to allow access to <installation-path>/maplab.." we mean that your webserver must allow users to browse to the maplab directory. This is accomplished by: 1) adding an alias to the maplab directory. Add the following line to the "Alias" section of the conf file (or something like it): Alias /mymaplab/ "C:/<installation-path>/maplab-2.0-RC4/" Now you should be able to goto http://localhost/mymaplab/ 2) You must give users permissions to view the contents of 'mymaplab'. Add the following (or something like it) beneath the alias section: <Directory "C:/<installation-path>/maplab-2.0-RC4/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Finally, to add index.phtml pages as default pages search for "DirectoryIndex" in the conf file, and add 'index.phtml' to that line, as follows: DirectoryIndex index.html index.html.var index.phtml Hope this helps. Jeff Peter.VonGaza wrote: > Howdy, > > I've been trying to get MapLab setup and have a couple questions. I've > got Mapserver working on Win2k with Apache2 and php4. I followed your > instructions and was able to get Mapscript going. Now I'm at your > "Configure your Web Server" instructions and am stuck because of my lack > of knowledge of Apache. > > I'm having trouble with: > "Edit your web server configuration to allow access to <installation-path>/Maplab-2.0-RC4/... and make sure that index.phtml pages are allowed as > default pages. > > 1. How do i add a new path? Is this something i add to the "httpd.conf" > file? > 2. How do i set index.phtml pages as default pages? > > I'm new to the game of Apache + PHP and am trying to just get things > going without truely understanding what is going on. > > I hope you can help! I'm exploring MapServer as an alternative tool to > ArcIMS for serving up our huge Landsat image database here in the Yukon. > > Cheers, > Peter von Gaza > Geomatics Yukon > www.geomaticsyukon.ca <http://www.geomaticsyukon.ca> > 867-633-7998 -- Jeff McKenna GIS Specialist DM Solutions Group http://www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |