Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6DBE115BC for ; Tue, 3 Jun 2014 20:39:16 +0000 (UTC) Received: (qmail 58912 invoked by uid 500); 3 Jun 2014 20:39:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 58876 invoked by uid 500); 3 Jun 2014 20:39:13 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 58866 invoked by uid 99); 3 Jun 2014 20:39:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 20:39:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@datatone.co.uk designates 81.2.115.98 as permitted sender) Received: from [81.2.115.98] (HELO i01.ip.uk.com) (81.2.115.98) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 20:39:11 +0000 Received: from [10.0.1.129] by i01.ip.uk.com with esmtp (Exim 4.82) (envelope-from ) id 1WrvTr-0003uo-61 for users@httpd.apache.org; Tue, 03 Jun 2014 21:38:47 +0100 Message-ID: <538E3251.3030301@datatone.co.uk> Date: Tue, 03 Jun 2014 21:38:41 +0100 From: Datatone List Subscriptions User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: users@httpd.apache.org References: <538D621F.1090201@datatone.co.uk> In-Reply-To: Content-Type: multipart/alternative; boundary="------------010500090007000403050600" X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users] WebDAV for managing web site content HTTPD 2.4.x (9 actually) --------------010500090007000403050600 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Srinivasa, I have tried what I think you are suggesting: ... DirectoryIndex index.html Alias /update /www/www.my-example.co.uk/site/dav Alias /update /www/www.my-example.co.uk/site ... Then I get the 405 error. There is a subdirectory of my 'site' DocumentRoot called 'dave'. If I have: ... DirectoryIndex index.html Alias /update /www/www.my-example.co.uk/site/dave Alias /update /www/www.my-example.co.uk/site ... Then the second 'Alias' line is ignored and DAV works, but serves up my 'dave' directory. Regards, 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), > skatta33@hotmail.com , > > > > > > Date: Tue, 3 Jun 2014 06:50:23 +0100 > > From: lists@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. > > > > > > > > ServerName www.my-example.co.uk > > ServerAdmin webmaster@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 > > > > > > AllowOverride all > > Require all granted > > > > > > > > Dav On > > AuthType Basic > > AuthName "Site Update" > > AuthUserFile /www/www.my-example.co.uk/WEB-INF/dav/user.passwd > > AuthBasicProvider file > > > > Require valid-user > > > > > > > > > > > > This is my configuration. For the web site there is a .../ > > 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-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > --------------010500090007000403050600 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Srinivasa,

I have tried what I think you are suggesting:

...
DirectoryIndex index.html

 Alias /update /www/www.my-example.co.uk/site/dav
 Alias /update /www/www.my-example.co.uk/site

 <Directory /www/www.my-example.co.uk/site>
...

Then I get the 405 error.

There is a subdirectory of my 'site' DocumentRoot called 'dave'.

If I have:

...
DirectoryIndex index.html

 Alias /update /www/www.my-example.co.uk/site/dave
 Alias /update /www/www.my-example.co.uk/site

 <Directory /www/www.my-example.co.uk/site>
...

Then the second 'Alias' line is ignored and DAV works, but serves up my 'dave' directory.

Regards,
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),
skatta33@hotmail.com,
 


 
> Date: Tue, 3 Jun 2014 06:50:23 +0100
> From: lists@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 webmaster@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

--------------010500090007000403050600--