I am trying to get my webappplication to be able to use slide under the 
same context.  I am using last night's nightly build and Turbine 2.1.

I have defined two web applications in my web.xml:

     <servlet>
         <servlet-name>
            basecamp
         </servlet-name>
         <servlet-class>
             org.apache.turbine.Turbine
         </servlet-class>

         <init-param>
             <param-name>properties</param-name>
             <!-- This is relative to the docBase -->
             <param-value>
                 /WEB-INF/conf/TurbineResources.properties
             </param-value>
         </init-param>
     </servlet>

   <servlet>
     <servlet-name>webdav</servlet-name>
     <display-name>Slide DAV Server</display-name>
     <servlet-class>org.apache.slide.webdav.WebdavServlet</servlet-class>
     <init-param>
       <param-name>domain</param-name>
       <param-value>/Domain.xml</param-value>
     </init-param>
     <init-param>
       <param-name>namespace</param-name>
       <param-value>slide</param-value>
     </init-param>
     <init-param>
       <param-name>scope</param-name>
       <param-value>/files</param-value>
     </init-param>


     <init-param>
       <param-name>debug</param-name>
       <param-value>1</param-value>
     </init-param>
     <load-on-startup>1</load-on-startup>
   </servlet>

But, I am not mapping slide to the root of my context as most people 
do... (that is I am accessing it through 
http://server:8080/webapp/servlet/webdav and not 
http://server:8080/webapp/)  Slide thinks I'm trying to access the 
director "/files/servlet/webdav" whenever I run the WebdavServlet 
whether I am connecting through internet explorer or the slide client. 
Here is one example of me trying to access 
http://server:8080/webapp/servlet/webdav:

28 Aug 2001 15:15:16 - org.apache.slide.common.Domain - INFO - GET 
(time: 1041 ms) URI = /files/servlet/webdav

Is there some webapp directive I can do to prevent this, or do I need to 
hack WebdavServlet?  I can do that easily enough, just want to make sure 
there isn't a "blessed" way to fix this :)

Thanks,

Dan Diephouse

Reply via email to