Hello c.i.w.s.u ,
Problem:
I am trying to serve two different ports on my Sun workstation
with each port having a dedicated Apache 1.3.0 server. I am not
successful, which is frustrating because I was successful with
a 1.2.6 version of the Apache server on one port and a 1.3.0
version on the other.
Symptoms:
In the configuration with both servers being version 1.3.0,
whether I have the port 8081 server running or not, when I
"apachectl start" the 8080 server, it insists on conecting to
port 8081. All the obvious *.conf file settings are for 8080.
( See *.conf setup info below ).
The 8081 httpd.pid file is updated, so I can't "apachectl stop"
from the 8080 sbin directory unless I copy the 8081 httpd.pid
file .
"ps -ef" shows that it is the 8081 httpd that is running.
Log files in the 8081 server directory tree are updated instead
of the 8080 directory tree. In fact, there are no log files at
all in the 8080 directory tree. If I have the 8081 server running,
the startup for the 8080 server fails because the 8081 port is
unavailable.
Background:
Port 8080 was being served by the 1.2.6 server. Port 8080 was
how the rest of my co-workers accessed my "released" HTML documents
& cgi scripts.
This week I successfully setup and ran version 1.3.0 on port 8081,
simultaneously with the version 1.2.6 server. I intend to use port
8081 for development.
The 1.3.0 tar package was untarred into a directory ~/apache_1.3.0 .
I built the first 1.3.0 server into directory ~/apache ; this is
server set to port 8081.
The second 1.3.0 server was built into directory ~/apache_pub/ from
directory apache_1.3.0; it is supposed to connect to port 8080.
The ~/apache_pub/etc/.conf files were copied from ~/apache/etc/*.conf
versions, and then edited to change "/apache/" refs to "/apache_pub/"
and "8081" to "8080". This includes "Port" and "BindAddress"
and "LockFile" and "ScoreBoardFile". I have triple-plus checked the
values of these directives .
Any help would be greatly appreciated.
Larry Ching
( warning: still learning the Apache http server )