Wiki source code of Seafile
Last modified by Sebastian Marsching on 2022/03/27 14:41
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
2.1 | 1 | ## Seafile 4.0.1 Beta for Linux |
2 | |||
3 | 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](http://www.seafile.com/): | ||
4 | |||
![]() |
4.1 | 5 | * [[seafile_4.0.1_i386.deb|attach:seafile_4.0.1_i386.deb]] |
![]() |
2.1 | 6 | * [[seafile_4.0.1_amd64.deb|attach:seafile_4.0.1_amd64.deb]] |
7 | |||
8 | ## Configuring the Seafile server with mod_proxy_fcgi | ||
9 | |||
10 | The Seafile server can be configured with Apache 2.4 and [mod_proxy_fcgi](http://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html) instead of mod_fastcgi: | ||
11 | |||
12 | # Seafile static files | ||
13 | Alias /media /home/seafile/haiwen/seafile-server-latest/seahub/media | ||
14 | <Location /media> | ||
15 | ProxyPass ! | ||
16 | Require all granted | ||
17 | </Location> | ||
18 | |||
19 | # Seafile file server | ||
20 | ProxyPass /seafhttp http://localhost:8082 | ||
21 | ProxyPassReverse /seafhttp http://localhost:8082 | ||
22 | |||
23 | # Seafile WebDAV server | ||
24 | ProxyPass /seafdav http://localhost:8080/seafdav | ||
25 | ProxyPassReverse /seafdav http://localhost:8080/seafdav | ||
26 | |||
27 | # Seafile seahub server | ||
28 | SetEnvIf Request_URI . proxy-fcgi-pathinfo=1 | ||
29 | SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 | ||
30 | ProxyPass / fcgi://localhost:8000/ | ||
31 | |||
32 | 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. |