I've got a problem with setting up a virtual host for my "koha"
perl-based application. It has its own httpd.conf which I include into
apache2.conf using Include directive. It looks like this:
#####
Listen 85
<VirtualHost Gentoo-drak:85>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/local/koha/opac/htdocs
ServerName Gentoo-drak
ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
Redirect permanent index.html
http://Gentoo-drak:85/cgi-bin/koha/opac-main.pl
ErrorLog /usr/local/koha/log/opac-error_log
TransferLog /usr/local/koha/log/opac-access_log
SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
SetEnv KOHA_CONF "/etc/koha.conf"
</VirtualHost>
####
Gentoo-drak is a name of my machine. Ok, when I try to connect to
localhost using port 85, I get this error message: You don't have
permission to access / on this server. I don't understand because
DocumentRoot dir "/usr/local/koha/opac/htdocs" has 775 permissions.
Could anybody advise me how to get this to work or tip me out some
tutorial on virtual hosting?
Thanks
--
gentoo-user@gentoo.org mailing list