> From: Moley Harey [mailto:[EMAIL PROTECTED] > Subject: How to configure Toncat to accept HTTP PUT requests? > > if I need to enable this for a single folder under "webapps" > that is going to be used as a repository accesible via HTTP, > how can I configure that? I am using Tomcat 5.5.7
(Thank you for telling us your Tomcat version up front.) Look in conf/web.xml for the DefaultServlet parameters, in particular readOnly. Copy the <servlet> section for it to the WEB-INF/web.xml for the webapp that you want to be able to dump things into. Change the <servlet-name> to something unique, and set the readOnly parameter value to true. Add a <servlet-mapping> for that unique name with a <url-pattern> of "/" (without the quotes) and you should be able to clobber whatever you want in just that webapp. You might also want to investigate various webdav-based mechanisms as an alternative. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: [email protected] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
