WebDAV issue

174 views
Skip to first unread message

Christian Hügel

unread,
Apr 30, 2014, 3:43:21 AM4/30/14
to sea...@googlegroups.com
Hi,

I´m using the latest seafile 3.0.2 but I´m unable to get wedav working.

Here is my config:

httpd.conf

FastCGIExternalServer /example/htdocs/www.example.com/seahub.fcgi -host 127.0.0.1:8000
FastCGIExternalServer /example/htdocs/www.example.com/seafdav.fcgi -host 127.0.0.1:8888


ssl.conf

<Directory /example/htdocs/www.example.com/>
     Allow from all
     Require all granted
      Satisfy any
      AllowOverride All
      Order allow,deny
    </Directory>


Alias /media /example/htdocs/www.example.com/seafile-server-latest/seahub/media

  RewriteEngine On

<Location /media>
   Require all granted
  </Location>

 #
  # seafile httpserver
  #
  ProxyPass /seafhttp http://127.0.0.1:8082
  ProxyPassReverse /seafhttp http://127.0.0.1:8082
  RewriteRule ^/seafhttp - [QSA,L]

  #
  # seahub
  #
  RewriteRule ^/(media.*)$ /$1 [QSA,L,PT]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ /seahub.fcgi$1 [QSA,L,E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

#
  # seafile webdav
  #
  RewriteCond %{HTTP:Authorization} (.+)
  RewriteRule ^(/seafdav.*)$ /seafdav.fcgi$1 [QSA,L,e=HTTP_AUTHORIZATION:%1]
  RewriteRule ^(/seafdav.*)$ /seafdav.fcgi$1 [QSA,L]


seafdav.conf

[WEBDAV]
enabled = true
port = 8888
fastcgi = true
share_name = /seafdav

netstat -nta | grep 888
tcp        0      0 127.0.0.1:8888              0.0.0.0:*                   LISTEN


When accessing the URL example.com/seafdav I get only a 404 Page: Sorry, but the requested page could not be found. Everything else works like a charm.

Can someone help me out. Thx

ZhengXie

unread,
Apr 30, 2014, 4:04:09 AM4/30/14
to sea...@googlegroups.com
Please put webdav block before seahub, otherwise all request will be handled by seahub.

Regards.

--
You received this message because you are subscribed to the Google Groups "seafile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/d/optout.

Christian Hügel

unread,
Apr 30, 2014, 4:09:38 AM4/30/14
to sea...@googlegroups.com
Hi,

yes that was it. Thank you

Regards,

Chris
Reply all
Reply to author
Forward
0 new messages