On Mon, Mar 4, 2013 at 4:36 PM, thegis <[email protected]> wrote:

> As we like to keep using virtual service behind a proxy, I was wondering
> if the global contexts (or at least a subset) could additionally be
> published below the virtual services contexts, e.g. throught the dispatcher
> servlet or web.xml?
>

The resources you're citing are served directly from the classpath using
the FilePublisher class, which is bound
to them in the spring context.
In order to have that work also for virtual workspaces I guess some sort I
guess the url mappings
in the spring context for the classpathPublisher should also use the
GeoServer custom
org.geoserver.ows.OWSHandlerMapping instead of Spring's own
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping

The change would likely have to happen in main module,
applicationContext.xml, around line 150 to 170.
However, I'm not sure if there are any side effects from doing that.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to