On Mon, Feb 7, 2011 at 7:43 PM, Charles Galpin <[email protected]> wrote: > > On Feb 7, 2011, at 1:33 PM, Ian Turton wrote: > >> On Mon, Feb 7, 2011 at 1:23 PM, Charles Galpin <[email protected]> wrote: >>> By test file do you mean the layer preview? That only works on localhost >>> for me, and I haven't seen a way to specify the server anme in the settings. >> >> LayerPreview should work on a server >> (http://ian01.geog.psu.edu/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.MapPreviewPage) > > Ok good to know. This must be a problem with my setup then (behind apache as > a reverse proxy). Instead of > OpenLayers.loadURL("http://ian01.geog.psu.edu:80/geoserver… > I get > OpenLayers.loadURL("http://localhost:8082/geoserver > But it doesn't sound like this is Jay's problem.
You probably did no setup apache to alter the html pages (it should replace the links), and maybe not informed GeoServer it's running behind a proxy. GeoServer also has its own link altering support, it's dormant in the web.xml file and you have to raise a flag to enable it Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
