|
Size: 1632
Comment: fixed problem with query
|
← Revision 3 as of 2009-09-20 22:13:36 ⇥
Size: 1632
Comment: converted to 1.6 markup
|
| No differences found! | |
# 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 Authentication"
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>