[Koha] Koha without virtualhost
Abdrahamane ANNE
girlajo at gmail.com
Sat Jul 8 05:36:31 NZST 2006
The default koha-httpd.conf use virtualhost directive to map koha
install to web site adress. Thus the koha installation appears as in a
separate host e.g
http://opac.mylibrary.tld/
I would like koha appear as a subdir of of my webserver DocRoot.
Has anyone succed to make work without a config allowing address like this :
http://mylibrary.tld/ => for my library homepage
http://mylibrary.tld/opac/ => to access koha opac httdocs dir
http://mylibrary.tld/opac/cgi-bin/ ==> for the opac cgi-bin dir
http://mylibrary.tld/intranet/ for koha intranet part.
Here is what i tried to modify the config file, but it does work
# KOHA's OPAC Configuration
alias /opac /usr/local/koha/opac/htdocs
<Directory "/usr/local/koha/opac/htdocs">
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
SetEnv KOHA_CONF "/etc/koha.conf"
Redirect permanent index.html http://10.10.2.185/ktal/cgi-bin/opac-main.pl
#ErrorLog /usr/local/koha/log/opac-error_log
#TransferLog /usr/local/koha/log/opac-access_log
</Directory>
ScriptAlias /cgi-bin/opac/ /usr/local/koha/opac/cgi-bin/
<Directory "/usr/local/koha/opac/cgi-bin">
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
SetEnv KOHA_CONF "/etc/koha.conf"
##
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
My koha installation is running under "ubuntu dapper ppc".
Regards
ANNE A.
Bamako/MALI
More information about the Koha
mailing list