webdav issue: cant write, delete or save to folder

Discussion in 'Server Operation' started by caffemisto, Oct 21, 2010.

  1. caffemisto

    caffemisto New Member

    Hi,

    I followed the following HOWTO: http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04

    Excellent HOWOT by the way. I was able to finally get webdav configured to allow me access to /var/www.

    However, though I'm able to authenticate using Dreamweaver and cadaver, I can't write, change, or add files or folders to /var/www.

    Here is the contents of /etc/apache2/sites-available/default

    <VirtualHost *:80>
    ServerAdmin [email protected]

    DocumentRoot /var/www
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    </Directory>

    Alias /webdav /var/www

    <Location /webdav>
    DAV on
    AuthType Basic
    AuthName "webdav"
    AuthUserFile /var/www/passwd.dav
    Require valid-user
    </Location>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    </VirtualHost>
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your logs?
    What's the output of
    Code:
    ls -la /var/www/
    ?
     
  3. caffemisto

    caffemisto New Member

    After much researching through the internet and other forums, looking at the /var/log files, etc., I decided to go with FTP.

    I know it was some kind of read/write privilege issue with webdav, because even after setting up FTP, I still could not write to /var/www.

    So I chmod 777 /var/www.
     

Share This Page