I would like to host a website, which is addressable as a sub-domain of my GeoServer. For example http://mygeoserver.com:8080/geoserver/web/my_website.html.
My question is: where do I have to place the html file in my folder structure so that I can access and run it with the http request above? How can I make the web page available in the web directory of GeoServer?
The GeoServer is installed under Ubuntu.
Thanks for your comment BradHards.
Background: The background to my question is that I want to have an html file with an OpenLayers WMS map, which shows my GeoServer data. In this map I need WFS as an overlay to the WMS map. Up to now, I can run the HTML file with WMS fine, but I can't get the WFS overlay to work. In this forum thread (WFS layer not showing?) someone mentioned a hint according to which the OpenLayers/WMS/WFS html file must be located within the GeoServer web directory in order to get it to work.
First I installed Tomcat6 under Ubuntu 12.04 LTS (
sudo apt-get install tomcat6).
After that, I installed the GeoServer version 2.2-SNAPSHOT (
apt-get install opengeo-geoserver). It is running well.
My tries: I tried a bit for myself and I am close to a solution. In the folder "var/lib/tomcat6/webapps/geoserver/data/www" are two HTML demo files, ol-demo.html as demo for OpenLayers and wfs-t.html as demo for WFS-T. I can successfully call these files in the browser (localhost and from remote) by (http://myaddress.com/geoserver/www/ol-demo.html). But when I additionally place my HTML file in this folder I can't reach them from the browser in an analogous way. Instead: HTTP 404 the requested resource() is not available.
Hope this helps to be able to better answer my question.