public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Cannot copy directories into webdav
@ 2010-06-13 15:06 Mick
  2010-06-14  2:22 ` Walter Dnes
  0 siblings, 1 reply; 3+ messages in thread
From: Mick @ 2010-06-13 15:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 986 bytes --]

Hi All,

I have set up a directory to have webdav access like so using 
/etc/apache2/vhosts.d/00_default_vhost.conf:

<VirtualHost *:80>
        ServerName <mydomain.com>
        ServerAlias demo-site
        DocumentRoot /var/www/<mydomain.com>/htdocs
        <Location />
           Dav On
           AuthType Basic
           AuthUserFile /var/www/.basic_password
           AuthName "WeDav Site Admin Access Only!"
           Require user fred
        </Location>
</VirtualHost>


I can access and read files.  I cannot create files:

"Access was denied whilst attempting to upload webdav://<mydomain.com>/blah-
blah/test.txt"

I cannot create directories:

"A resource cannot be created at the destination until one or more 
intermediate collections (folders) have been created".

Any idea what I'm missing here?  The directory I am trying to write into is 
owned by apache:

drwxr-xr-x 3 apache apache  72 Jan 24 17:26 themes
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Cannot copy directories into webdav
  2010-06-13 15:06 [gentoo-user] Cannot copy directories into webdav Mick
@ 2010-06-14  2:22 ` Walter Dnes
  2010-06-17 22:26   ` Mick
  0 siblings, 1 reply; 3+ messages in thread
From: Walter Dnes @ 2010-06-14  2:22 UTC (permalink / raw
  To: gentoo-user

On Sun, Jun 13, 2010 at 04:06:26PM +0100, Mick wrote

> Any idea what I'm missing here?  The directory I am trying to write
> into is owned by apache:

  What user are you when trying to write into the directory?

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Cannot copy directories into webdav
  2010-06-14  2:22 ` Walter Dnes
@ 2010-06-17 22:26   ` Mick
  0 siblings, 0 replies; 3+ messages in thread
From: Mick @ 2010-06-17 22:26 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 381 bytes --]

On Monday 14 June 2010 03:22:23 Walter Dnes wrote:
> On Sun, Jun 13, 2010 at 04:06:26PM +0100, Mick wrote
> 
> > Any idea what I'm missing here?  The directory I am trying to write
> > into is owned by apache:
> 
>   What user are you when trying to write into the directory?
> 
fred, as I have defined in the configuration file:

Require user fred
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-17 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-13 15:06 [gentoo-user] Cannot copy directories into webdav Mick
2010-06-14  2:22 ` Walter Dnes
2010-06-17 22:26   ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox