我正在从源代码安装 Koha。通用 unix 方向指示 sudo make install 之后的以下步骤
sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
嗯?
我的 apache2 目录不包含可用站点,只有 /private/etc/apache2/extra /private/etc/apache2/httpd.conf /private/etc/apache2/magic /private/etc/apache2/mime.types /private/etc /apache2/original /private/etc/apache2/other /private/etc/apache2/users
我应该能够浏览到http://servername:8080/
运行 Koha,我在 koha-httpd.conf 中指定了“服务器名称”,如下所示:
## Intranet
<VirtualHost 192.168.1.4:8080>
ServerAdmin webmaster@local
DocumentRoot /usr/share/koha/intranet/htdocs
ServerName John-Breedloves-Mac-mini.local:8080
# ServerAlias intranet.mydomain.com
ScriptAlias /cgi-bin/koha/ "/usr/share/koha/intranet/cgi-bin/"
ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/search.pl"
ErrorLog /var/log/koha/koha-error_log
# TransferLog /var/log/koha/koha-access_log
SetEnv KOHA_CONF "/etc/koha/koha-conf.xml"
SetEnv PERL5LIB "/usr/share/koha/lib"
Options +FollowSymLinks
ErrorDocument 400 /cgi-bin/koha/errors/400.pl
ErrorDocument 401 /cgi-bin/koha/errors/401.pl
ErrorDocument 403 /cgi-bin/koha/errors/403.pl
ErrorDocument 404 /cgi-bin/koha/errors/404.pl
ErrorDocument 500 /cgi-bin/koha/errors/500.pl
RewriteEngine On
但是,当我去时http://john-breedloves-mac-mini.local:8080/
,我得到:
有用!
这就像讽刺或什么的。
帮助一个菜鸟。