[Geoserver-devel] [Mapbuilder-users] URL resolution without index.html

Hi Amy,

As quoted from Amy Johnson <ajohnson@anonymised.com>:

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/&lt;projectname&gt;/index\.html

instead.

Kind regards,
--
-- Gertjan van Oosten, gertjan@anonymised.com, West Consulting B.V., +31 15 2191 600

Gertjan van Oosten ha scritto:

Hi Amy,

As quoted from Amy Johnson <ajohnson@anonymised.com>:

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/&lt;projectname&gt;/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

Hi Andrea,

As quoted from Andrea Aime <aaime@anonymised.com>:

What worries me a little more, [...] is that the mapbuilder within
Geoserver is there just as a demo, and hasn't been updated in quite
some months.

This is where the MapBuilder dev-team steps in: at a recent team meeting
it was decided that we would help the Geoserver team in updating to a
more recent version of MapBuilder. Since we don't consider the latest
1.5-alpha1 release fit for inclusion, the 1.0.1 that's now bundled with
Geoserver suits the purpose.
When we have our OpenLayers integration up to speed we will probably try
and make the Geoserver demos use the new look and feel.

Regards,
--
-- Gertjan van Oosten, gertjan@anonymised.com, West Consulting B.V., +31 15 2191 600

Gertjan van Oosten ha scritto:

Hi Andrea,

As quoted from Andrea Aime <aaime@anonymised.com>:

What worries me a little more, [...] is that the mapbuilder within
Geoserver is there just as a demo, and hasn't been updated in quite
some months.

This is where the MapBuilder dev-team steps in: at a recent team meeting
it was decided that we would help the Geoserver team in updating to a
more recent version of MapBuilder. Since we don't consider the latest
1.5-alpha1 release fit for inclusion, the 1.0.1 that's now bundled with
Geoserver suits the purpose.
When we have our OpenLayers integration up to speed we will probably try
and make the Geoserver demos use the new look and feel.

Hey, thank you, I didn't know that.
Some help from the MapBuilder masters is very welcomed :slight_smile:

Cheers
Andrea