I'm having some problems with uploading, ever since moving Seafile off the root domain. I am able to successfully see my library, and I can access /seafile/ (for Seahub), /seafhttp/ (blank page), and /seafmedia/ (forbidden). I'm guessing seafmedia is supposed to be forbidden, but if I am wrong please let me know. Here are some of my conigurations:
USER_NAME = Mauris
ID = 1f2baa09a203091c09840cc8da49635ba43161b6
NAME = Mauris
SERVICE_URL = http://mauris.kbnetwork.ca/seafile
PORT = 13419
SECRET_KEY = "TRUNCATED"
SERVE_STATIC = False
MEDIA_URL = '/seafmedia/'
COMPRESS_URL = MEDIA_URL
STATIC_URL = MEDIA_URL + 'assets/'
SITE_ROOT = '/seafile/'
LOGIN_URL = '/seafile/accounts/login/' # NOTE: since version 5.0.4
000-default.conf (Apache config)
# Use "DocumentRoot /var/www/html" for Centos/Fedora
# Use "DocumentRoot /var/www" for Ubuntu/Debian
Alias /seafmedia /home/keith/seafile-server-latest/seahub/media
Require all granted
# seafile fileserver
ProxyPass /seafhttp http://127.0.0.1:8082
ProxyPassReverse /seafhttp http://127.0.0.1:8082
RewriteRule ^/seafhttp - [QSA,L]
SetEnvIf Request_URI . proxy-fcgi-pathinfo=unescape
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass /seafile fcgi://127.0.0.1:8000/seafile
I've uploaded some logs on my Amazon Cloud Drive. I did a quick search in them and I can't seem to find anything when I search on Google. Here is the link. The only thing that stands out is in seafile.log:
[08/03/2016 05:38:48 PM] ../common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seaf_server.heartbeat
Any suggestions? Thanks!