seafile ubantu20.04 apache 部署问题


#1

我按照文档配置了seafile, 但是我访问域名的时候只能看到apache的it works页面。我怀疑问题可能出在apache的根目录上,因为文档里没有提到在/var/www路径下需不需要配置seafile的文件。。我把seafile文件放在我的账户目录下 /home/hamburger/seafile 大家有没有遇到过类似的问题啊。。
apache配置文件:

<VirtualHost *:443>
ServerName www.mydomain
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/mydomain-error.log
CustomLog ${APACHE_LOG_DIR}/mydomain-access.log combined

SSLEngine On
SSLCertificateFile /home/hamburger/seafileCacert.pem
SSLCertificateKeyFile /home/hamburger/seafile.pem

Alias /media  /home/hamburger/seafile/seafile-server-latest/seahub/media
<Location /media>
    Require all granted
</Location>

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

# seahub web interface
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPass / http://127.0.0.1:8000/
ProxyPassReverse / http://127.0.0.1:8000/

#2

Apache主目录的配置改了吗