I have a static website deployed in 5.0.28 and wish to access/maintain it
using the lightweight DAV servlet that ships with this version of Tomcat
(Slide is overkill for my purposes).
 
    <servlet>
        <servlet-name>dav</servlet-name>
 
 
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
        <init-param>
            <param-name>debug</param-name>
            <param-value>0</param-value>
        </init-param>
 
        <init-param>
            <param-name>listings</param-name>
            <param-value>true</param-value>
        </init-param>
 
        <init-param>
            <param-name>readonly</param-name>
            <param-value>false</param-value>
        </init-param>
 
    </servlet>
 
    <servlet-mapping>
        <servlet-name>dav</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
 
I am able to connect to the webshare using Microsoft Network Neighborhood.
I authenticate and modify files in the static web application with no
issues.
 
However, when I access the webapp via the web browser, I get a directory
listing (this is not behavior consistent with my expectations).
 
What is the recommended deployment of the static site and webdav servlet
such that direct access to the files does not go through the servlet, and
webdav requests do?
 
Best Wishes,
 
John Dale

Reply via email to