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

My httpd.conf is as follows,

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

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

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

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

<IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
</IfModule>

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
</Directory>
<IfModule mod_dav_fs.c>
    DAVLockDB /var/lib/dav/lockdb
</IfModule>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>
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
    </Directory>
</IfModule>
</IfModule>
BrowserMatch "Mozilla/2" nokeepalive
...
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully

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

From: bennett.t...@con-way.com
To: users@httpd.apache.org
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 …

                The
code specifies:            
AP_INIT_TAKE1("DAV", dav_cmd_dav, NULL, ACCESS_CONF,

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

                The
4th parameter, ACCESS_CONF, indicates “where” DAV is
allowed.

                ACCESS_CONF
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
[mailto:mathewz...@hotmail.com] 

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

To: users@httpd.apache.org

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





 

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



<Location />

    DAV On

</Location>



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

Thanks

 

> From: n...@webthing.com

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

> To: users@httpd.apache.org

> 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

> http://www.webthing.com/~nick/cv.html

> 

> 

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

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

> See <URL:http://httpd.apache.org/userslist.html> for more info.

> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

> " from the digest: users-digest-unsubscr...@httpd.apache.org

> For additional commands, e-mail: users-h...@httpd.apache.org

> 

                                          

Reply via email to