1 |
Hi All, |
2 |
|
3 |
I have set up a directory to have webdav access like so using |
4 |
/etc/apache2/vhosts.d/00_default_vhost.conf: |
5 |
|
6 |
<VirtualHost *:80> |
7 |
ServerName <mydomain.com> |
8 |
ServerAlias demo-site |
9 |
DocumentRoot /var/www/<mydomain.com>/htdocs |
10 |
<Location /> |
11 |
Dav On |
12 |
AuthType Basic |
13 |
AuthUserFile /var/www/.basic_password |
14 |
AuthName "WeDav Site Admin Access Only!" |
15 |
Require user fred |
16 |
</Location> |
17 |
</VirtualHost> |
18 |
|
19 |
|
20 |
I can access and read files. I cannot create files: |
21 |
|
22 |
"Access was denied whilst attempting to upload webdav://<mydomain.com>/blah- |
23 |
blah/test.txt" |
24 |
|
25 |
I cannot create directories: |
26 |
|
27 |
"A resource cannot be created at the destination until one or more |
28 |
intermediate collections (folders) have been created". |
29 |
|
30 |
Any idea what I'm missing here? The directory I am trying to write into is |
31 |
owned by apache: |
32 |
|
33 |
drwxr-xr-x 3 apache apache 72 Jan 24 17:26 themes |
34 |
-- |
35 |
Regards, |
36 |
Mick |