Srinivas, Thanks for the reply. I'm not sure what you are suggesting.
I can try this, but are you suggesting that I put two Alias lines in? Each one aliasing '/update' to a different target? Is this on the basis that the first one has been proved to make the DAV work, and the second one is what I need? David On 03/06/2014 12:57, Srinivasa Rao Katta wrote: > David, > > Please try to add the line following line before Alias /update > /www/www.my-example.co.uk/site in the config file. > > Thanks, > Srinivas > > Alias /update /www/www.my-example.co.uk/site/dav > > > > > Srinivasa Rao Katta(System Administrator), > skatt...@hotmail.com <mailto:skatt...@hotmail.com>, > > > > > > Date: Tue, 3 Jun 2014 06:50:23 +0100 > > From: li...@datatone.co.uk > > To: users@httpd.apache.org > > Subject: [users] WebDAV for managing web site content HTTPD 2.4.x (9 > actually) > > > > I used to use WebDAV for managing web site content with Apache httpd > > 2.2.x, however I have so far been unable to move the old configurations > > to 2.4.x and maintain this facility. > > > > Most of the on-line 'howtos' seem to be based on the assumption that the > > web server is being used as a kind of remote filesystem, which is all > > well and good, and very useful; but not what I'm doing. > > > > I have things fundamentally working, and I CAN make DAV work if I create > > a directory under my DocumentRoot and use DAV to manage files within it. > > > > > > <VirtualHost *:80> > > ServerName www.my-example.co.uk > > ServerAdmin webmas...@ip.uk.com > > DocumentRoot /www/www.my-example.co.uk/site > > ErrorLog /www/www.my-example.co.uk/WEB-INF/logs/http/error.log > > CustomLog /www/www.my-example.co.uk/WEB-INF/logs/http/access.log > > combined > > DirectoryIndex index.html > > > > Alias /update /www/www.my-example.co.uk/site > > > > <Directory /www/www.my-example.co.uk/site> > > AllowOverride all > > Require all granted > > </Directory> > > > > <Location /update> > > Dav On > > AuthType Basic > > AuthName "Site Update" > > AuthUserFile /www/www.my-example.co.uk/WEB-INF/dav/user.passwd > > AuthBasicProvider file > > <LimitExcept GET POST OPTIONS> > > Require valid-user > > </LimitExcept> > > </Location> > > > > </VirtualHost> > > > > This is my configuration. For the web site there is a .../<some-url> > > directory, and within this there is a WEB-INF directory for various > > administration stuff, and a 'site' directory. Everything is owned by the > > user and group under which httpd runs. > > > > DocumentRoot is set to the 'site' directory, so that the server serves > > stuff from it as expected. > > > > If I create a subdirectory under 'site' and set the Alias target to > > point to it, DAV works; proving that the fundamentals are OK. > > > > So for example: > > > > Alias /update /www/www.my-example.co.uk/site/dav > > > > Will allow me to access files in a subdirectory of the 'site' directory > > called 'dav'. However as soon as I set Alias as in the configuration > > file above, to point to the DocumentRoot, I get '405' errors and > failure. > > > > This seems to be telling me that there is something about the access > > permissions to the actual DocumentRoot directory, rather than a DAV > > configuration problem, and I assume that somehow my configuration must > > have conflics in this area, but I'm completely at a loss with respect to > > what is going wrong. > > > > Regards, > > David > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > > For additional commands, e-mail: users-h...@httpd.apache.org > >