Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1519)

Unified Diff: third_party/apache-win32/conf/extra/httpd-dav.conf

Issue 147313008: Check Win32 Apache+PHP into third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/apache-win32/conf/extra/httpd-dav.conf
diff --git a/third_party/apache-win32/conf/extra/httpd-dav.conf b/third_party/apache-win32/conf/extra/httpd-dav.conf
new file mode 100644
index 0000000000000000000000000000000000000000..7ec189a398945137a70eae702fb7381d834aeb62
--- /dev/null
+++ b/third_party/apache-win32/conf/extra/httpd-dav.conf
@@ -0,0 +1,52 @@
+#
+# Distributed authoring and versioning (WebDAV)
+#
+# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
+# mod_auth_digest, mod_authn_file
+#
+
+# The following example gives DAV write access to a directory called
+# "uploads" under the ServerRoot directory.
+#
+# The User/Group specified in httpd.conf needs to have write permissions
+# on the directory where the DavLockDB is placed and on any directory where
+# "Dav On" is specified.
+
+DavLockDB "D:/src/httpd/var/DavLock"
+
+Alias /uploads "D:/src/httpd/uploads"
+
+<Directory "D:/src/httpd/uploads">
+ Dav On
+
+ Order Allow,Deny
+ Allow from all
+
+ AuthType Digest
+ AuthName DAV-upload
+
+ # You can use the htdigest program to create the password database:
+ # htdigest -c "D:/src/httpd/user.passwd" DAV-upload admin
+ AuthUserFile "D:/src/httpd/user.passwd"
+ AuthDigestProvider file
+
+ # Allow universal read-access, but writes are restricted
+ # to the admin user.
+ <LimitExcept GET OPTIONS>
+ require user admin
+ </LimitExcept>
+</Directory>
+
+#
+# The following directives disable redirects on non-GET requests for
+# a directory that does not include the trailing slash. This fixes a
+# problem with several clients that do not appropriately handle
+# redirects for folders with DAV methods.
+#
+BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
+BrowserMatch "MS FrontPage" redirect-carefully
+BrowserMatch "^WebDrive" redirect-carefully
+BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
+BrowserMatch "^gnome-vfs/1.0" redirect-carefully
+BrowserMatch "^XML Spy" redirect-carefully
+BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
« no previous file with comments | « third_party/apache-win32/conf/extra/httpd-autoindex.conf ('k') | third_party/apache-win32/conf/extra/httpd-default.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698