Re: [users] WebDAV for managing web site content HTTPD 2.4.x (9 actually)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx,
 


 
> Date: Tue, 3 Jun 2014 06:50:23 +0100
> From: lists@xxxxxxxxxxxxxx
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux