[SLUG] web dav setup

2010-05-13 Thread Ken Foskey

I need to set up a simple read only webdav.   No security.   I installed
the dav_fs and it starts but I cannot browse to the machine.

Location /books
  DAV On
  Order allow,deny
Allow from All
/Location

Anyone got any hints.

Ta
Ken

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] web dav setup

2010-05-13 Thread Ben Donohue

Hey Foskey

Location /books
  DAV On
  Order allow,deny
Allow from All
Deny from none--- do you need this?
/Location

Ben



On 13/05/2010 8:39 PM, Ken Foskey wrote:

Location /books
   DAV On
   Order allow,deny
 Allow from All
/Location

   

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] web dav setup

2010-05-13 Thread Rick Welykochy

Ben Donohue wrote:


Location /books
DAV On
Order allow,deny
Allow from All
Deny from none--- do you need this?
/Location


Also check your Apache error log. It will indicate denials.


cheers
rickw


--
_
Rick Welykochy || Praxis Services

In the modern world the stupid are cocksure while the intelligent are full of 
doubt.
  -- Bertrand Russell

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] web dav setup

2010-05-13 Thread Jobst Schmalenbach

check whether the webdav lock db exists:

IfModule mod_dav_fs.c
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
/IfModule

check whether the module is loaded:

LoadModule dav_module modules/mod_dav.so

I am not sure whether it should be directory and not location:

Directory /books
  DAV On
  Options Indexes Includes FollowSymLinks
  Order allow,deny
  Allow from ALL
/Directory

and make sure you have options indexes turned on!

As for a sane security setting use this as well

  AllowOverride none
  LimitExcept GET POST PUT
deny from all
  /LimitExcept




On Thu, May 13, 2010 at 08:39:18PM +1000, Ken Foskey (kfos...@tpg.com.au) wrote:
 
 I need to set up a simple read only webdav.   No security.   I installed
 the dav_fs and it starts but I cannot browse to the machine.
 
 Location /books
   DAV On
   Order allow,deny
 Allow from All
 /Location
 
 Anyone got any hints.
 
 Ta
 Ken
 
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
Never share a foxhole with anyone braver than yourself.

  | |0| |   Jobst Schmalenbach, jo...@barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L  The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html