Currently Seafile doc’s pertaining the deployment of Seafile behind an Apache httpd 2.4 are outdated http://manual.seafile.com/deploy/deploy_with_apache.html since mod_fastcgi will not build anymore on Centos 7 and similar distributions such as Fedora or Red Hat Enterprise Linux 7 (RHEL), see mod_fastcgi error “Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: undefined symbol: unixd_config”: http://serverfault.com/questions/629937/centos-7-apache2-httpd-mod-fastcgi-installation-impossible

However as mentioned in Seafile ticket #884 – https://github.com/haiwen/seafile/issues/884 – one should try adding the following /etc/httpd/conf/httpd.conf configuration within your VirtualHost directive:


ServerName your_server_hostname
DocumentRoot /var/www/html

# Seafile static files
Alias /media /srv/seafile/seahub/media

ProxyPass !
Require all granted

SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1

# 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
ProxyPass / fcgi://localhost:8000/

Make sure you also apply changes to ccnet.conf, seahub_settings.py and restart the services in accordance to http://manual.seafile.com/deploy/deploy_with_apache.html – Next release will probably contain respective changes – https://github.com/tomchiverton/seafile-docs/commit/6e67c63865590f857c8ebc11e69cb7222eddad4c – but for the time being the above hopefully helps to save some of your time.