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

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: http://docs.geoserver.org/latest/en/user/tutorials/staticfiles.html

  • Yes, It has worked. I have been trying lot of things to get it. Appreciate your help. – OpenMapperz May 20 '15 at 7:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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