Hi all,
Working with a 4.1.0_01 version of jahia, I would like to change the servlet mapping of the jahia servlet.
Default the servlet maps to /Jahia/*, making that "Jahia" appears in all urls.
I want this replaced by an empty string, so that http://myserver/mycontext/pid/1 maps to the servlet.
In jahia405 I did this by mapping like this:
<param-name>defaultMappingPattern</param-name>
<param-value></param-value>
(I also changed the other mappings further on in web.xml)
Now in 4.1 this doesn't seem to work.
If I do it like this:
<param-name>defaultMappingPattern</param-name>
<param-value>/*</param-value>
it does work, but all images referenced in the templates like
/jsp/jahia/... are also processed by the jahia servlet (resulting in a
404 error).
Any idea how i can solve this?
thanks
Tom
- servlet mapping Jahia servlet tom *
- Re: servlet mapping Jahia servlet Stéphane Croisier
