tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko" <knst.koli...@gmail.com>
Subject Re: CGIServlet in Tomcat 6
Date Wed, 13 Aug 2008 18:08:05 GMT
2008/8/13 Mark Thomas <markt@apache.org>:
>
> The privileged attribute needs to be set on the context.
>

In your own web application create a file,
META-INF/context.xml, with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<Context privileged="true" />

See the manager application for an example.

Then redeploy your application, and it should work.

Contexts are documented here:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20Contexts

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message