File: examples/apache-directory-list/webdav.conf

Recommend this page to a friend!
  Classes of Dom Hastings  >  JS Webdav Client  >  examples/apache-directory-list/webdav.conf  >  Download  
File: examples/apache-directory-list/webdav.conf
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JS Webdav Client
Access files of a Webdav server
Author: By
Last change: Switched to featherlight from fancybox, organised private functions to make them easier to find, prefixed all private variables with _ for easy distinction, moved pretty print from iframe eval to properly using prettify
Date: 1 year ago
Size: 539 bytes


Class file image Download
ServerName webdav.server.com
DocumentRoot /path/to/webdav/root

# This prevents indexes from being parsed (unless they're called the below...)

Alias /header.html /path/to/header.html

HeaderName /header.html

<Location />
    DAV on

    Options +Indexes
    HeaderName /header.html

    # the below only needed on a server configured with PHP
    RemoveType .php

    RemoveHandler .php
    AddType text/plain .php