Gentoo Archives: gentoo-user

From: q-parser <quickparser@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] Apache Virtual Host
Date: Thu, 28 Jul 2005 20:28:44
Message-Id: 42E93ECF.20506@gmail.com
1 I've got a problem with setting up a virtual host for my "koha"
2 perl-based application. It has its own httpd.conf which I include into
3 apache2.conf using Include directive. It looks like this:
4
5 #####
6 Listen 85
7
8 <VirtualHost Gentoo-drak:85>
9 ServerAdmin quickparser@×××××××.sk
10 DocumentRoot /usr/local/koha/opac/htdocs
11 ServerName Gentoo-drak
12 ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
13 Redirect permanent index.html
14 http://Gentoo-drak:85/cgi-bin/koha/opac-main.pl
15 ErrorLog /usr/local/koha/log/opac-error_log
16 TransferLog /usr/local/koha/log/opac-access_log
17 SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
18 SetEnv KOHA_CONF "/etc/koha.conf"
19
20 </VirtualHost>
21 ####
22 Gentoo-drak is a name of my machine. Ok, when I try to connect to
23 localhost using port 85, I get this error message: You don't have
24 permission to access / on this server. I don't understand because
25 DocumentRoot dir "/usr/local/koha/opac/htdocs" has 775 permissions.
26
27 Could anybody advise me how to get this to work or tip me out some
28 tutorial on virtual hosting?
29 Thanks
30 --
31 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Apache Virtual Host Paul Raison <paul@××××××××××.uk>