AnsweredAssumed Answered

Webdav

Question asked by letien on Mar 25, 2009
Latest reply on Apr 9, 2009 by ofrxnz
In Install_Configure_Alfresco_Lab3Stable.pdf:
Configuring WebDAV
Web-based Distributed Authoring and Versioning (WebDAV) lets you manage content on a remote web
server. This lets you use your own tools to edit content on the Alfresco server.
  1. Browse to the WEB-INF folder, and open the web.xml file.
     WebDAV is enabled by default in the standard web.xml file through the following entries:
<servlet>
       <servlet-name>WebDAV</servlet-name>
       <servlet-class>org.alfresco.repo.webdav.WebDAVServlet</servlet-class>
       <init-param>
          <param-name>store</param-name>
          <param-value>workspace://SpacesStore</param-value>
       </init-param>
       <init-param>
          <param-name>rootPath</param-name>
          <param-value>/app:company_home</param-value>
       </init-param>
       <load-on-startup>5</load-on-startup>
   </servlet>
<filter>
       <filter-name>WebDAV Authentication Filter</filter-name>
       <filter-class>org.alfresco.repo.webdav.auth.AuthenticationFilter</filter-
class>
       <!– For NTLM authentication support use the following filter –>
       <!–
       <filter-class>org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter</
filter-class>
       –>
</filter>
<servlet>
       <servlet-name>WebDAV</servlet-name>
       <servlet-class>org.alfresco.repo.webdav.WebDAVServlet</servlet-class>
       <init-param>
          <param-name>store</param-name>
          <param-value>workspace://SpacesStore</param-value>
       </init-param>
       <init-param>
          <param-name>rootPath</param-name>
          <param-value>/app:company_home</param-value>
       </init-param>
       <load-on-startup>5</load-on-startup>
   </servlet>
<filter-mapping>
       <filter-name>WebDAV Authentication Filter</filter-name>
       <url-pattern>/webdav/*</url-pattern>
   </filter-mapping>
<servlet-mapping>
        <servlet-name>WebDAV</servlet-name>
        <url-pattern>/webdav/*</url-pattern>
   </servlet-mapping>
2. Modify the WebDAV configuration section as required, and save the file.
3. To access the Alfresco server, use the URL: http://localhost:8080/alfresco/webdav.
4. To open a space in WebDAV:
     a. In the Alfresco repository, browse to the space you want to access.
     b. Click the Detailed View link of the space.
     c. In the Links section, click View in WebDAV.
****************************************************************
But when I click View in WebDAV, a file don't open in WebDAV, it was downloaded to my computer.
So, How to view a file in WebDAV?
Thank you very much.

Outcomes