From: Andrea A. <aa...@op...> - 2007-03-29 08:36:44
|
Gertjan van Oosten ha scritto: > Hi Amy, > > As quoted from Amy Johnson <ajo...@gc...>: >> I just finished moving a project from the Mapbuilder installation I have >> over to GeoServer, figuring I would use the Mapuilder that is installed >> in GeoServer. When I typed in the url without the name of the main web >> page index.html (localhost:8080/geoserver/<projectname>), it gave me the >> tree structure for the directory. This doesn't happen when I do the same >> thing in the mapbuilder installation >> (localhost:8080/mapbuilder/<projectname>). In the mapbuilder case, it >> pulls up the appropriate web page, index.html. I am using Geoserver >> 1.5.0-rc2a. > > I quote your message in its entirety, since it is a Geoserver > configuration issue (hence the Cc: to geoserver-devel). Geoserver has > in its WEB-INF/web.xml the following: > > <welcome-file-list> > <welcome-file>index.jsp</welcome-file> > </welcome-file-list> > > which means it does not recognize "index.html" as a directory index, > only "index.jsp". So until that is resolved, you have to open: > > http://localhost:8080/geoserver/<projectname>/index.html Hum, this is more an issue with the customization of geoserver than Geoserver as is. That said, I don't see issues with adding index.html and/or index.htm in the welcome file list. What worries me a little more, Amy, is that the mapbuilder within Geoserver is there just as a demo, and hasn't been updated in quite some months. A more recent version may serve you better, have less bugs, etc. You can run it within the same web container, as a separate application. The is some guidance about doing that in the Mapbuilder web site: http://docs.codehaus.org/display/MAP/Tomcat+environment Cheers Andrea |