Hello all, I don't seem to be able to change the prefix for accessing
servlets. The default servlet prefix is "/servlet/" and according to the
instructions/coments in server.xml, this prefix can be adjusted. So I tried
changing the following lines in server.xml

<RequestInterceptor 
            className="org.apache.tomcat.request.InvokerInterceptor" 
            debug="0" prefix="/foo/bar/servlets/" />

I made sure there is a slash at the beginning and the end of the prefix.
Somehow it doesn't work. When I looked at the generated mod_jk_conf-auto
file, I noticed the JkMount directive is still directing everything in
/servlet/* to ajp12. I would assume by changing the prefix in server.xml,
there would be a JkMount directive for /foo/bar/servlets/* to ajp12.

What have I done wrong and what am I missing here ?

Thanks.

Reply via email to