Home / راهنمای پیاده سازی webdav در آپاچی

راهنمای پیاده سازی webdav در آپاچی


http://www.cyberciti.biz/faq/rhel-fedora-linux-apache-enable-webdav/
فقط خط Dav on رو به پایین تنظیمات منتقل کن
وگرنه پیغام
DAV not allowed here

میاد و سرور اجرا نمیشه

نمونه پیشرفته تر تنظیمات webdav با چند کاربر و تعیین سطح دسترسی و یک پوشه اشتراک

<IfModule mod_dav.c>
    LimitXMLRequestBody 131072
    Alias /webdav "/home/httpd/webdav"
    #Alias /webdav "/home/httpd/webdav/$REMOTE_USER"
   <Directory /home/httpd/webdav>
    DAV On
    AuthType Basic
    AuthName "WebDAV Server"
    AuthUserFile  /etc/apache2/webdav.users.pwd
    Order allow,deny
    Allow from all
    #<Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
    <Limit PUT POST DELETE PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
  Require user root
    </Limit>
    </Directory>
<Directory /home/httpd/webdav/hoseindav>
     AllowOverride None
     Options Indexes MultiViews
     Order Allow,Deny
     Allow from All
     <LimitExcept GET HEAD OPTIONS>
          Require user hoseindav
     </LimitExcept>
</Directory>
<Directory /home/httpd/webdav/keshvardoost>
     AllowOverride None
     Options Indexes MultiViews
     Order Allow,Deny
     Allow from All
     <LimitExcept GET HEAD OPTIONS>
          Require user keshvardoost
     </LimitExcept>
</Directory>
<Directory /home/httpd/webdav/sharing>
     AllowOverride None
     Options Indexes MultiViews
     Order Allow,Deny
     Allow from All
    Require valid-user
</Directory>
 </IfModule>



نمونه دیگر از تنظیمات wevdav

<VirtualHost *>
# ... standard configuration ...
# ServerName, DocumentRoot, etc

# Root DAV which requires authentication to access:
<Location "/MyFiles/">
DAV on
AuthType Digest
AuthName "Digest Realm"
AuthUserFile /etc/apache2/users/myfiles.htdigest
Require user me

<LimitExcept GET HEAD OPTIONS REPORT PROPFIND>
Require user me
</LimitExcept>
</Location>

# Specific folder which can be accessed anonymously (read-only)
<Location "/MyFiles/Public/">
<Limit GET HEAD OPTIONS REPORT PROPFIND>
Allow from all
Satisfy any
</Limit>
</Location>

# Specific folder which can be accessed anonymously (read/write)
<Location "/MyFiles/DropBox/">
Allow from all
Satisfy any
</Location>
</VirtualHost>



یک راهنمای خیلی خوب برای راه اندازی webdav

http://ubuntuguide.org/wiki/WebDAV





     RSS of this page