httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zMatthew <>
Subject RE: [users@httpd] Question about mod_dav in Apache2(Centos)
Date Wed, 16 Mar 2011 09:18:54 GMT

Apach's error_log doesn't exist any relative info.

My httpd.conf is as follows,

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  4000
<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0
Listen 80
LoadModule auth_basic_module modules/
LoadModule dav_module modules/
LoadModule dav_fs_module modules/
LoadModule version_module modules/

Include conf.d/*.conf
User apache
Group apache
ServerAdmin root@localhost
UseCanonicalName Off
DocumentRoot "/var/www/html"

<Directory />
    Options FollowSymLinks
    AllowOverride None

<Directory "/var/www/html">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
<IfModule mod_userdir.c>
    UserDir disable
DirectoryIndex index.html index.html.var
AccessFileName .htaccess
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
TypesConfig /etc/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic

HostnameLookups Off
ErrorLog logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
CustomLog logs/access_log combined
ServerSignature On
Alias /icons/ "/var/www/icons/"
<Directory "/var/www/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
<IfModule mod_dav_fs.c>
    DAVLockDB /var/lib/dav/lockdb
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIcon /icons/blank.gif ^^BLANKICON^^
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
AddLanguage ca .ca
AddLanguage zh-TW .zh-tw
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru
sv zh-CN zh-TW
ForceLanguagePriority Prefer Fallback
AddDefaultCharset UTF-8
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler type-map var
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/error/"
<IfModule mod_negotiation.c>
<IfModule mod_include.c>
    <Directory "/var/www/error">
        AllowOverride None
        Options IncludesNoExec
        AddOutputFilter Includes html
        AddHandler type-map var
        Order allow,deny
        Allow from all
        LanguagePriority en es de fr
        ForceLanguagePriority Prefer Fallback
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully

DAVLockDB /usr/local/apache/DAVLock
<Location />
    DAV On

Date: Thu, 10 Mar 2011 07:46:55 -0800
Subject: RE: [users@httpd] Question about mod_dav in Apache2(Centos)

“DAV On” can be used within a <Directory …>
or within a <Location …

code specifies:            

"specify the DAV provider for a directory or location"),

4th parameter, ACCESS_CONF, indicates “where” DAV is

is defined as:       #define ACCESS_CONF
64       /**< *.conf inside <Directory>
or <Location> */


So, your problem is elsewhere.


Does your g provide any clues…???


From: zMatthew

Sent: Thursday, March 10, 2011 12:37 AM


Subject: RE: [users@httpd] Question about mod_dav in Apache2(Centos)


httpd.conf doesn't exist <Location>, so I added the following the 3 lines
in the file.

<Location />

    DAV On


Unfortunately, "PUT" method still isn't seen via "OPTIONS /



> From:

> Date: Thu, 10 Mar 2011 06:15:52 +0000

> To:

> Subject: Re: [users@httpd] Question about mod_dav in Apache2(Centos)



> On 10 Mar 2011, at 05:08, zMatthew wrote:


> > I configured Apache2 to allow "PUT" method on a directory,


> DAV doesn't work with Directories. Use <Location>.


> -- 

> Nick Kew


> Available for work, contract or permanent




> ---------------------------------------------------------------------

> The official User-To-User support forum of the Apache HTTP Server Project.

> See <URL:> for more info.

> To unsubscribe, e-mail:

> " from the digest:

> For additional commands, e-mail:


View raw message