1

I have gone through many posts to understand how to host and launch new HTML files under a Geoserver installation like this: Geoserver static file path
I have saved a test.html file under \GeoServer 2.7.0\data_dir\www\
And when I tried to access that file from http://localhost:8080/geoserver/web/test.html , I get:

HTTP ERROR: 404

NOT_FOUND RequestURI=/geoserver/web/test.html

Powered by Jetty://

How to resolve this? Did I save the file in the wrong location? Should I do something else to get this working?

OpenMapperz
  • 121
  • 2
  • 11

1 Answers1

1

The request should be: http://localhost:8080/geoserver/www/test.html

Make also sure that your data directory is really \GeoServer 2.7.0\data_dir

See for more info: https://docs.geoserver.org/latest/en/user/tutorials/staticfiles.html

Tom-db
  • 466
  • 1
  • 4
  • 12