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?

1 Answer 1

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

1
  • Yes, It has worked. I have been trying lot of things to get it. Appreciate your help. Commented May 20, 2015 at 7:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.