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.