Seafile
Last modified by Sebastian Marsching on 2022/03/27 14:41
Seafile 4.0.1 Beta for Linux
I compiled the Seafile 4.0.1 Beta version for Ubuntu 12.04 LTS and built packages (client only) using the script in the source distribution. You can download them here until a compiled version of Seafile 4 for Linux is offered on the Seafile website:
Configuring the Seafile server with mod_proxy_fcgi
The Seafile server can be configured with Apache 2.4 and mod_proxy_fcgi instead of mod_fastcgi:
# Seafile static files
Alias /media /home/seafile/haiwen/seafile-server-latest/seahub/media
<Location /media>
ProxyPass !
Require all granted
</Location>
# Seafile file server
ProxyPass /seafhttp http://localhost:8082
ProxyPassReverse /seafhttp http://localhost:8082
# Seafile WebDAV server
ProxyPass /seafdav http://localhost:8080/seafdav
ProxyPassReverse /seafdav http://localhost:8080/seafdav
# Seafile seahub server
SetEnvIf Request_URI . proxy-fcgi-pathinfo=1
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass / fcgi://localhost:8000/
Alias /media /home/seafile/haiwen/seafile-server-latest/seahub/media
<Location /media>
ProxyPass !
Require all granted
</Location>
# Seafile file server
ProxyPass /seafhttp http://localhost:8082
ProxyPassReverse /seafhttp http://localhost:8082
# Seafile WebDAV server
ProxyPass /seafdav http://localhost:8080/seafdav
ProxyPassReverse /seafdav http://localhost:8080/seafdav
# Seafile seahub server
SetEnvIf Request_URI . proxy-fcgi-pathinfo=1
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass / fcgi://localhost:8000/
I tested this setup with the Seafile Server 4.0.0 (Beta). Unfortunately, using seafdav with mod_proxy_fcgi does not work yet (I have not checked whether this is a problem with FastCGI in general or just mod_proxy_fcgi), but HTTP proxy mode works fine.