summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/webdavcgi/files/postinstall-en.txt')
-rw-r--r--www-apps/webdavcgi/files/postinstall-en.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-apps/webdavcgi/files/postinstall-en.txt b/www-apps/webdavcgi/files/postinstall-en.txt
new file mode 100644
index 000000000000..8aa6f95d87a2
--- /dev/null
+++ b/www-apps/webdavcgi/files/postinstall-en.txt
@@ -0,0 +1,29 @@
+Before you can run WebDAV CGI you need to configure your web server and WebDAV
+CGI itself.
+
+The following configuration snippet serves as an example for the Apache HTTPD
+web server. You will have to adapt it to suite your own server and configuration
+needs.
+
+ ScriptAlias /cgi-bin/ "${VHOST_CGIBINDIR}/"
+
+ <Location /${VHOST_CGIBINDIR##*/}/>
+ AuthType Basic
+ AuthName "WebDAV-CGI"
+ AuthUserFile ${VHOST_ROOT}/etc/users.htpasswd
+ Require valid-user
+ Order Allow,Deny
+ Allow from all
+ </Location>
+
+ RewriteEngine On
+ RewriteRule ^/${VHOST_APPDIR}/logout /${VHOST_CGIBINDIR##*/}/logout [PT,E=REALM:WebDAV-CGI,E=HOMEURL:/${VHOST_APPDIR},L]
+ RewriteRule ^/${VHOST_APPDIR} /${VHOST_CGIBINDIR##*/}/webdav.pl [PT,E=WEBDAVCONF:${VHOST_ROOT}/etc/webdav.conf,E=PERLLIB:${VHOST_ROOT}/lib/perl,L]
+
+
+Afterwards you need to copy the default configuration file and edit it:
+cp -p ${VHOST_ROOT}/etc/{webdav.conf-dist,webdav.conf}
+\$EDITOR ${VHOST_ROOT}/etc/webdav.conf
+
+For further informations study the online documentation which is located at:
+http://webdavcgi.sourceforge.net/doc.html