Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
Hey All, We are using Tomcat 6 on a RedHat box. Today I installed AWStats and AWStats needs CGI. So I enabled the CGIServlet in the Tomcat's web.xml file. When I restarted Tomcat, I got the following error message: SEVERE: Error deploying web application directory docs

Re: Enabling CGIServlet causes SecurityException in Tomat 6

2010-06-02 Thread Joe Hansen
I moved the CGI servlet mapping from tomcat/conf/web.xml to /home/hosts/ourwebsite/webapps/ROOT/WEB-INF/web.xml and that did the trick! I figured that the privileged=true in Context.xml applies only to that particular web application and hence I need to move the Servlet Mapping to the