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 1EBhCv-0000jd-De for garchives@archives.gentoo.org; Sat, 03 Sep 2005 23:13:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j83NACAi029514; Sat, 3 Sep 2005 23:10:12 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j83N6V7V017876 for ; Sat, 3 Sep 2005 23:06:32 GMT Received: by wproxy.gmail.com with SMTP id i6so768687wra for ; Sat, 03 Sep 2005 16:09:23 -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; b=Eoy4ogHM6j//A4OTvOQhQfMI4AyE2PaNco+QMcTBKj15I4EspGC+KRrXp85d8OJFEmvVhIZILXd7O5ZhPavlrfO1OanaJi9pDBjSqoJpczGYn08thdPgocEAHZAJfucFDIL0AOLX7xNtMYFhgKAQ5inp74TEhTPaRkkeo731Fzo= Received: by 10.54.3.8 with SMTP id 8mr3345916wrc; Sat, 03 Sep 2005 16:09:23 -0700 (PDT) Received: from ?192.168.205.53? ( [62.168.65.245]) by mx.gmail.com with ESMTP id 11sm5057692wrl.2005.09.03.16.09.22; Sat, 03 Sep 2005 16:09:23 -0700 (PDT) Message-ID: <431A2D1C.60402@gmail.com> Date: Sun, 04 Sep 2005 01:09:16 +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> <4319FFBF.8020104@gmail.com> <558b73fb05090313138a21ccc@mail.gmail.com> In-Reply-To: <558b73fb05090313138a21ccc@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------030901080403060000080106" X-Archives-Salt: 0668f1a9-b467-43ba-9942-c7e4a5a1b895 X-Archives-Hash: da8c49b9b5f14d39e497280ef68fcd77 This is a multi-part message in MIME format. --------------030901080403060000080106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Michael Crute wrote: > On 9/3/05, *q-parser* > wrote: > > 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 > > > > Can you send me your config file or the relevant parts from it? > > -Mike > > -- > ________________________________ > Michael E. Crute > Software Developer > SoftGroup Development Corporation > > Linux, because reboots are for installing hardware. > "In a world without walls and fences, who needs windows and gates?" Here it is: # ******************************************************** Listen 100 Listen 200 # NameVirtualHost is used by one of the optional configurations detailed below # Please make sure this line is correct before uncommenting. # See http://httpd.apache.org/docs/vhosts/ for some guides. #NameVirtualHost 11.22.33.44 #NameVirtualHost virtual:100 # KOHA's OPAC Configuration ServerAdmin quickparser@centrum.sk DocumentRoot /usr/local/koha/opac/htdocs ServerName virtual ServerPath /usr/local/ ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/ Redirect permanent index.html http://virtual:100/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" Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymlinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymLinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html # KOHA's INTRANET Configuration ServerAdmin quickparser@centrum.sk DocumentRoot /usr/local/koha/intranet/htdocs ServerName virtual ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/" Redirect permanent index.html http://virtual:200/cgi-bin/koha/mainpage.pl ErrorLog /usr/local/koha/log/koha-error_log TransferLog /usr/local/koha/log/koha-access_log SetEnv PERL5LIB "/usr/local/koha/intranet/modules" SetEnv KOHA_CONF "/etc/koha.conf" Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymlinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html Order allow,deny Allow from all AllowOverride None Options +Includes -FollowSymLinks -Indexes #Options Indexes FollowSymLinks AddHandler server-parsed .html # ******************************************************** Those port numbers are chosen for explanatory reason, but I wouldn't object if they worked ;) This whole file is Include-d into apache2.conf. I emphasize that on my localhost, it works great, with ports 85 and 8585 instead the two here. The curious thing is, that if I want to use port 8585 here, the browser shows me main apache page (you know, as if port 80 is used). All I want to know is why apache does not 'want' to listen to the given ports? I don't know, maybe it does, but I'm getting time-outs. --------------030901080403060000080106 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Michael Crute wrote:
On 9/3/05, q-parser <quickparser@gmail.com> wrote:
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



Can you send me your config file or the relevant parts from it?

-Mike

--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation

Linux, because reboots are for installing hardware.
"In a world without walls and fences, who needs windows and gates?"
Here it is:

# ********************************************************

Listen 100
Listen 200

# NameVirtualHost is used by one of the optional configurations detailed below
# Please make sure this line is correct before uncommenting.
# See http://httpd.apache.org/docs/vhosts/ for some guides.

#NameVirtualHost 11.22.33.44
#NameVirtualHost virtual:100

# KOHA's OPAC Configuration
<VirtualHost virtual:100>
   ServerAdmin quickparser@centrum.sk
   DocumentRoot /usr/local/koha/opac/htdocs
   ServerName virtual
   ServerPath /usr/local/
   ScriptAlias /cgi-bin/koha/ /usr/local/koha/opac/cgi-bin/
   Redirect permanent index.html http://virtual:100/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"
   <Directory "/usr/local/koha/opac/htdocs">
     Order allow,deny
     Allow from all
     AllowOverride None
     Options +Includes -FollowSymlinks -Indexes
     #Options Indexes FollowSymLinks
     AddHandler server-parsed .html
   </Directory>
   <Directory /usr/local/koha/opac/cgi-bin>
     Order allow,deny
     Allow from all
     AllowOverride None
     Options +Includes -FollowSymLinks -Indexes
     #Options Indexes FollowSymLinks
     AddHandler server-parsed .html
   </Directory>
</VirtualHost>

# KOHA's INTRANET Configuration
<VirtualHost virtual:200>
   ServerAdmin quickparser@centrum.sk
   DocumentRoot /usr/local/koha/intranet/htdocs
   ServerName virtual
   ScriptAlias /cgi-bin/koha/ "/usr/local/koha/intranet/cgi-bin/"
   Redirect permanent index.html http://virtual:200/cgi-bin/koha/mainpage.pl
   ErrorLog /usr/local/koha/log/koha-error_log
   TransferLog /usr/local/koha/log/koha-access_log
   SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
   SetEnv KOHA_CONF "/etc/koha.conf"

   <Directory "/usr/local/koha/intranet/htdocs">
     Order allow,deny
     Allow from all
     AllowOverride None
     Options +Includes -FollowSymlinks -Indexes
     #Options Indexes FollowSymLinks
     AddHandler server-parsed .html
   </Directory>
   <Directory /usr/local/koha/intranet/cgi-bin>
     Order allow,deny
     Allow from all
     AllowOverride None
     Options +Includes -FollowSymLinks -Indexes
     #Options Indexes FollowSymLinks
     AddHandler server-parsed .html
   </Directory>

</VirtualHost>

# ********************************************************

Those port numbers are chosen for explanatory reason, but I wouldn't object if they worked ;) This whole file is Include-d into apache2.conf. I emphasize that on my localhost, it works great, with ports 85 and 8585 instead the two here. The curious thing is, that if I want to use port 8585 here, the browser shows me main apache page (you know, as if port 80 is used).
All I want to know is why apache does not 'want' to listen to the given ports? I don't know, maybe it does, but I'm getting time-outs.

--------------030901080403060000080106-- -- gentoo-user@gentoo.org mailing list