Народ помогите плиз укротить этого зверя, уже двое суток бьюсь, ничего не получаеться.
Беру стандартный http-dev.conf из поставки с apache22, правлю до такого состояния:
DavLockDB "/usr/local/var/DavLock"
Alias /uploads/ "/usr/local/uploads"
<Directory "/usr/local/uploads">
Dav On
AuthType Basic
AuthName DAV-upload
AuthUserFile "/usr/local/user.passwd"
AuthGroupFile /dev/null
Order Allow,Deny
Allow from all
require user test
#</LimitExcept>
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
#
touch /usr/local/uploads/index.html
потом chown -R www:www /usr/local/var/DavLock
chown -R www:www /usr/local/uploads
/usr/local/etc/rc.d/apache restart
cat /usr/local/etc/apache22/httpd.conf |grep www
User www
Group www
устанавливаю cadaver
делаю: cadaver http://192.168.0.1/uploads
вводу логин и пароль test test
делаю: edit index.html
ввожу ts
жму esc, жму qw!
получаю:
/tmp/cadaver-edit-l4S3sb.html: 1 lines, 3 characters.
Changes were made.
Uploading changes to `/uploads/index.html'
Progress: [=============================>] 100.0% of 220 bytes failed:
403 Forbidden
Try uploading again (y/n)?
Помогите, очень прошу.
Беру стандартный http-dev.conf из поставки с apache22, правлю до такого состояния:
DavLockDB "/usr/local/var/DavLock"
Alias /uploads/ "/usr/local/uploads"
<Directory "/usr/local/uploads">
Dav On
AuthType Basic
AuthName DAV-upload
AuthUserFile "/usr/local/user.passwd"
AuthGroupFile /dev/null
Order Allow,Deny
Allow from all
require user test
#</LimitExcept>
</Directory>
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
#
touch /usr/local/uploads/index.html
потом chown -R www:www /usr/local/var/DavLock
chown -R www:www /usr/local/uploads
/usr/local/etc/rc.d/apache restart
cat /usr/local/etc/apache22/httpd.conf |grep www
User www
Group www
устанавливаю cadaver
делаю: cadaver http://192.168.0.1/uploads
вводу логин и пароль test test
делаю: edit index.html
ввожу ts
жму esc, жму qw!
получаю:
/tmp/cadaver-edit-l4S3sb.html: 1 lines, 3 characters.
Changes were made.
Uploading changes to `/uploads/index.html'
Progress: [=============================>] 100.0% of 220 bytes failed:
403 Forbidden
Try uploading again (y/n)?
Помогите, очень прошу.