httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "ApacheVirtualHostMysql/webdav.tmpl" by sjorge
Date Thu, 03 Apr 2008 10:17:13 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by sjorge:
http://wiki.apache.org/httpd/ApacheVirtualHostMysql/webdav%2etmpl

New page:
{{{
# DAV Server
<IfDefine DAV>
        <VirtualHost *:81>
                ServerName %name%:81
                ErrorLog "%host_dir%/%name%/_sys/logs/error_log"
                CustomLog "%host_dir%/%name%/_sys/logs/access_log_dav" combined

                DocumentRoot "%host_dir%/%name%"
                DirectoryIndex dav_index_list

                # mysql connection
                DBDriver mysql
                DBDParams "host=%db_server% dbname=%db_name% user=%db_user% pass=%db_pass%"
                DBDPersist On
                DBDMin 1
                DBDKeep 2
                DBDMax 2
                DBDExptime 60

                <Directory "%host_dir%/%name%">
                        Options FollowSymLinks
                        AllowOverride none
                        order allow,deny
                        Allow from All

                        # DAV Settings
                        DAV On

                        # Authentication
                        AuthName "DAV for %name%"
                        AuthType basic
                        AuthBasicProvider dbd
                        AuthDBDUserPWQuery "SELECT password FROM users WHERE (groups = 'dav'
or groups LIKE '%,dav%' or groups LIKE '%dav,%' or groups LIKE '%,dav,%') AND host = %id%
AND name = %s;"
                        Require valid-user

                        #Remove filter for dynamic content
                        RemoveHandler .pl .cgi .shtm .shtml
                        RemoveHandler .php .phps
                        <Files ~ "^\.ht">
                                Order allow,deny
                                Allow from all
                        </Files>
                </Directory>

                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
                BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
        </VirtualHost>
</IfDefine>
}}

Mime
View raw message