[英]Apache: Install Baikal besides Seafile
I need a hint in which direction I should look for an answer on this. 我需要一个提示,指出应该在哪个方向寻找答案。
I have set up a Seafile server which is accessible under https://subdomain.no-ip.org , i now want baikal to be accessible under https://subdomain.no-ip.org/baikal 我已经建立了一个Seafile服务器,该服务器可以在https://subdomain.no-ip.org下访问,现在我希望贝加尔湖可以在https://subdomain.no-ip.org/baikal下访问。
However, I can't get it running because i always get a message from Seafile that this directory does not exist. 但是,我无法使其运行,因为我总是从Seafile收到此目录不存在的消息。 (I guess seafile thinks it should be a subdirectory)
(我猜seafile认为它应该是一个子目录)
my recent try to configure apache - sites-enabled/default-ssl 我最近尝试配置apache- sites-enabled / default-ssl
<VirtualHost *:443>
ServerAdmin webmaster@localhost
Servername gasslnet.no-ip.org
DocumentRoot /var/www
Alias /media /home/andie/seafile-directory/seafile-server-latest/seahub$
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Directory "/var/www/baikal/html">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
My Seafile-Settings: 我的Seafile设置:
ccnet/ccnet.conf ccnet / ccnet.conf
SERVICE_URL = https://subdomain.no-ip.org
seahub_settings.py seahub_settings.py
FILE_SERVER_ROOT = 'http://subdomain.no-ip.org/seafhttp'
I think the issue is in the seafile configuration, if seafile would be accessible under url/seafile and not only the url the problem should be solved. 我认为问题出在seafile配置中,如果可以在url / seafile下访问seafile,而不仅是url,也应该解决问题。 I tried changing the SERVICE_URL, but no effect.
我尝试更改SERVICE_URL,但没有效果。
Do you have any ideas about this? 您对此有什么想法吗?
You have to set 你必须设置
SITE_ROOT = '/seafile'
in the seahub_settings.py to access Seafile under 在seahub_settings.py中访问下面的Seafile
http://subdomain.no-ip.org/seafile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.