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: Webdav security

* I'm disabling .htaccess too for good measure.
* Disable server side scripts
Remove DAV from security
Just limit to GET.
squelch the error message in the Apache startup
Add security forcing readonly on webdav-js
Create testing with docker & Fix apache conf

* The apache conf files were not properly written.
* Testing with docker for simler testing (use ./test/ to remove
all images and containers from your pc)
Date: 2 years ago
Size: 611 bytes


Class file image Download
<VirtualHost *:80>
    DocumentRoot /var/www/html/

    # assuming webdav-js is checked out to /var/www/webdav-js
    Alias /webdav-js /var/www/webdav-js

    <Location />
        DirectoryIndex disabled
        DAV on
        AllowOverride None

        Options +Indexes -ExecCGI
        HeaderName /webdav-js/examples/apache-directory-list/header.html

        SetHandler None

    # Add security
    <Directory /var/www/webdav-js>
        Satisfy all
        <LimitExcept GET>
            Deny from all