Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: a newbie want to get to know WebDAV |
|
Author |
|
antoniozacca
Joined: 21 Apr 2008 Posts: 4 Location: chiba japan
|
Posted: Tue 29 Apr '08 12:19 Post subject: a newbie want to get to know WebDAV |
|
|
Hi i have some question about WebDAV. first is when you use WebDAV
and how security problem is? second is i cant get good reaction from
apache when i use authentication there are success and unsuccess code
in config below.
DAVLockDB "E:/httpd/apache2/WDLdb/DAVLock"
Alias /webdav "E:/httpd/apache2/webdav"
<Location /webdav>
AllowOverride None
Order allow,deny
Allow from all
DAV On
</Location>
above simple configuration make me satisfied but with no security
so i have put some addtional line for more security and gota faild
resolt
DAVLockDB "E:/httpd/apache2/WDLdb/DAVLock"
Alias /webdav "E:/httpd/apache2/webdav"
<Location /webdav>
AllowOverride None
Order allow,deny
Allow from all
DAV On
<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user root
</Limit>
</Location>
i have put LIMIT directive and apache pop up to ask me usernsme &
password like login so i put root and correct pass of windows. rsolt
i cant! do i need to specified login info to windows system? or make
some file for windows can anderstand where system go
i spend all day long today but cant get over till now and no more idea
so i need some help! many thanx for any help |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 05 May '08 9:58 Post subject: |
|
|
you need to create a user file
Code: |
<Directory "c:/Apache2/uploads">
Dav On
AuthType Digest
AuthName DAV-upload
# You can use the htdigest program to create the password database:
# htdigest -c "c:/Apache2/user.passwd" DAV-upload admin
AuthUserFile "c:/Apache2/user.passwd"
# Allow universal read-access, but writes are restricted
# to the admin user.
<LimitExcept GET OPTIONS>
require user admin
</LimitExcept>
</Directory>
|
|
|
Back to top |
|
|
|
|
|
|