ColumPaget / Alaya

A webdav enabled webserver mostly focused on file storage
GNU General Public License v3.0
20 stars 4 forks source link

503 not implemented error? #7

Open ardz opened 3 months ago

ardz commented 3 months ago

Hello,

I've setup Alaya and when I attempt to connect the app I use for notetaking (Joplin) to the webdav server (or cyberduck just for testing the connection) I'm getting this error:

2024/06/07 15:30:43.828 [17286] NEW REQUEST:  (192.168.50.25) HEAD / HTTP/1.1
2024/06/07 15:30:43.828 [17286] AUTH: method 'basic'
2024/06/07 15:30:43.828 [17286] AUTH: Client Authenticated with native for XXXXX@192.168.50.25
2024/06/07 15:30:43.828 [17286] CONSIDER AUTH METHODS: native
2024/06/07 15:30:43.829 [17286] AUTHENTICATED: xxxxx@192.168.50.25 for 'HEAD /' against /opt/etc/alaya.auth native
2024/06/07 15:30:43.829 [17286] RESPONSE: '503 Not implemented' to XXXX@192.168.50.25 for 'HEAD /'
2024/06/07 15:30:43.829 [17286] TRANSACTION COMPLETE: HEAD / for XXXX@ (192.168.50.25)
XXXX@XXXXX:/tmp/mnt/kingston/users/webdav/xxxxxx#

Alaya config like so:

Port=8080
LogFile=/opt/var/log/alaya.log
PidFile=/opt/var/run/alaya.pid
ChHome=/tmp/mnt/kingston/users/webdav
HttpMethods=GET,PUT,PROPFIND,LOCK,MKCOL,DELETE,COPY,MOVE,HEAD,OPTIONS
AuthMethods=native
AuthPath=/opt/etc/alaya.auth
AllowUsers=XXXX,XXXX
# Default user and group for CGI scripts etc.
DefaultUser=nobody
DefaultGroup=users
# User-specific paths
Path=files,/xxxx,/tmp/mnt/kingston/users/webdav/xxxx,cache=120,uploads=Y
Path=files,/xxxx,/tmp/mnt/kingston/users/webdav/xxxx,cache=120,uploads=Y
# Directory listing type
DirListType=Full

Any help or pointers would be appreciated...

ColumPaget commented 3 months ago

Hmm, I would have thought I'd have implemented HEAD. This is pretty odd. I'll look into this. Thanks for the report.