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 1EBeBj-0006dD-VL for garchives@archives.gentoo.org; Sat, 03 Sep 2005 20:00:33 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j83Jucve017438; Sat, 3 Sep 2005 19:56:38 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j83Jqwlv005968 for ; Sat, 3 Sep 2005 19:52:59 GMT Received: by wproxy.gmail.com with SMTP id i25so225209wra for ; Sat, 03 Sep 2005 12:55:49 -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=irJzxIWhFQkD2Kd0sLIMKjCI/ywWgl7vdJS28OdTP+j5ULOWjpFo4Gs8ayibQCLsu5Oaqi9o+Pb1vbmTyTZi0WXs5YiUftMiSF4dezTAiqm0f0Nlt/9bpWRIoe6sYBeHOr8SMzyLQO3jCF955P01hEDajYePl+kw3loXLnWO0+k= Received: by 10.54.37.11 with SMTP id k11mr2849299wrk; Sat, 03 Sep 2005 12:55:49 -0700 (PDT) Received: from ?192.168.205.53? ( [62.168.65.245]) by mx.gmail.com with ESMTP id 38sm4783635wrl.2005.09.03.12.55.47; Sat, 03 Sep 2005 12:55:49 -0700 (PDT) Message-ID: <4319FFBF.8020104@gmail.com> Date: Sat, 03 Sep 2005 21:55:43 +0200 From: q-parser User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) 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> <42F67B59.40209@gmail.com> <558b73fb0508071649709948ae@mail.gmail.com> <42F6A9D9.7010000@gmail.com> <558b73fb05080719536b72960a@mail.gmail.com> In-Reply-To: <558b73fb05080719536b72960a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 8bd8dd9b-52ad-4b9e-8ea5-5e14c4212ab9 X-Archives-Hash: d04b89bbfe6c434ec94804d46d600c83 I have a different problem now. I've migrated the whole program to my server, but it does not work there. I set up different ports for it and server does not listen to them, though I have Listen directives. I'm getting time-outs, but I don't know why. Does anybody have any idea why apache does not listen to my my ports, no matter what they are? Thanks Michael Crute wrote: > Just a note for the future. Whenever you create a virual host that > points to a directory you must create a directory container inside of > the virual host container that sets up the permissions for the > directory otherwise your will always get a 403 error. > > -Mike > > On 8/7/05, *q-parser* > wrote: > > Yes, that's it! Many thanks...I hope, there'll be no other problems. > > Michael Crute wrote: > > > Try this... > > > > > > 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 > > < 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" > > > > > > Options Indexes FollowSymLinks > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > > > > > On 8/7/05, *q-parser* > > >> > wrote: > > > > 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 > > > > > > > > > > -- > > ________________________________ > > Michael E. Crute > > Software Developer > > SoftGroup Development Corporation > > > > "In a world without walls and fences, who needs windows and gates?" > > > -- > gentoo-user@gentoo.org mailing list > > > > > -- > ________________________________ > Michael E. Crute > Software Developer > SoftGroup Development Corporation > > "In a world without walls and fences, who needs windows and gates?" -- gentoo-user@gentoo.org mailing list