Building a webserver to test an learn php5 and SQL. And I want to edit/work directly on the files in 2-3 webdir/website from a desktop (windows7 rig). Followed these 2 ToDo's: http://www.howtoforge.com/installing...12.04-lts-lamp http://www.howtoforge.com/how-to-set...n-ubuntu-10.04 I know the Webdav ToDo is for a Ubuntu Server 10.04, but I compared the commands to commands from Ubuntu Help, and couldn't find any differences. This is a Todo for Ubuntu Server 12.04: http://www.qazxdr.com/setting-up-webdav-server-on-ubuntu-12-04/ Webdav works just fine, I checked using cadaver, and I was able to map the directory on my windows7 desktop. But I can't copy a file to the mapped /webdav !? I mapped with the username I created by "htpasswd -c /var/www/web1/passwd.dav username" And the right password of course! The mapping works, the copying to the mapped directory doesn't Facts: A. It's a clean installation of Ubuntu Server 12.04 and then Apache2/MySQL/PHP5 according to the Todo. B. The username I used for the webdav user /passwd.dav is NOT the administrator username of the Ubuntu Server! C. I created a little file called info.php in the /var/www/web1/web directory with VI from Putty/SSH. Then I checked the content of the mapped /serverip/webdav/ and the file was there! I could se it, but not open, not execute, not copy, not anything! It must have something to do with rights somehow. Shall the webdav user not be a member of www-data?? This is what I did according to the tutorial: chown root:www-data /var/www/web1/passwd.dav chmod 640 /var/www/web1/passwd.dav The problem: 1. I'm not allowed to copy anything to the mapped directory 2. Like in the ToDo, I can't see any directory. But this is maybe because the sample in the Todo http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04-p2 is a sample AFTER something has been copied to the mapped directory!? I have read the ToDo again and again, I can't se why anything should be in the mapped directory /webdav . I haven't copied anything in there yet Here's the content of /etc/apache/sites-available/default Code: NameVirtualHost * <VirtualHost *> ServerAdmin [email protected] DocumentRoot /var/www/web1/web/ <Directory /var/www/web1/web/> Options Indexes MultiViews AllowOverride None Order allow,deny allow from all </Directory> Alias /webdav /var/www/web1/web <Location /webdav> DAV On AuthType Basic AuthName "webdav" AuthUserFile /var/www/web1/passwd.dav Require valid-user </Location> </VirtualHost> I noticed the passwd.dav file exist in /var/www/web1 and the directory "web" is present too! Is it because I gave the directory the wrong rights? chmod 640 /var/www/web1/passwd.dav. I followed the tutorial to the letter Is it permissions maybe? Maybe: chmod 664 -R /var/www/web1/web ???? Or is 660 the right one? writing rights for the group?? Please keep in mind, I followed the tutorial... Or, which directory do you set permissions? /webdav ? or /var/www/web1/web ? I'm not very strong in symlinks .