From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1seu-0000tk-J9 for garchives@archives.gentoo.org; Sun, 07 Aug 2005 21:26:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j77LPDpZ008684; Sun, 7 Aug 2005 21:25:13 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j77LLeb7029115 for ; Sun, 7 Aug 2005 21:21:40 GMT Received: by wproxy.gmail.com with SMTP id i23so998758wra for ; Sun, 07 Aug 2005 14:21:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=L9V5rjg9R/saXIlPEpebU2Qv0s3Oydh4CIEd8chLPWoWuK+QVyor7q0a4wThFkf2xeInqVLV4+7IOVCAS27YfFN1zpoohr0wW5teGmzC2nJu/QYcg4o9YIKhwxZeued2Eso3FS08+ovnbwe8gSVRSt03b8QCWpAm3tUAZDPU0dU= Received: by 10.54.36.43 with SMTP id j43mr4350124wrj; Sun, 07 Aug 2005 14:21:51 -0700 (PDT) Received: from ?192.168.205.53? ([62.168.65.245]) by mx.gmail.com with ESMTP id g7sm7225662wra.2005.08.07.14.21.49; Sun, 07 Aug 2005 14:21:51 -0700 (PDT) Message-ID: <42F67B59.40209@gmail.com> Date: Sun, 07 Aug 2005 23:21:29 +0200 From: q-parser User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] Apache Virtual Host References: <42E93ECF.20506@gmail.com> <42E94D3B.2010108@raison.org.uk> In-Reply-To: <42E94D3B.2010108@raison.org.uk> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 94b37b75-a1ec-434a-bb88-27116dbdc0ea X-Archives-Hash: cce9f588e59797a8f2c31c24d73a14ca Thanks for help, however, it didn't work. I'm still getting 403 - You don't have permission to access / on this server. I think it's not necessary to define virtual hosts in vhosts.conf as it is, to my knowledge, included to apache2.conf, so does my config. Any other suggestions for this? This is getting rather pushy. Paul Raison wrote: > To use virtual hosting with Apache2, you should them up in the > /etc/apache2/conf/vhosts/vhosts.conf file. Then you need to add this > directive within the Virtual Host block:- > > > Order allow,deny > Allow from all > > > Repeat this section for /usr/local/koha/opac/htdocs/ > > This should get it working. > > Paul > > q-parser wrote: > >> 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 >> >> >> ServerAdmin quickparser@centrum.sk >> 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" >> >> >> #### >> 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