Re: Running two apaches on different ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/3/07, Anthony Smith <anthony.smith@xxxxxxxxx> wrote:




I thought this would be easy, but I must be doing something wrong.



My first install went like this:

./configure --prefix=/usr/local/apache-2.0.59/ --enable-so --enable-dav



It works fine. And it runs on port 80.



For the the next install I tried:



./configure --prefix=/usr/local/apache2-svn/ --enable-so
--enable-dav

I went in the httpd.conf file and changed it to port 7770. But when I go to
the bin directrory to start apache it says it is already started. So I
stopped it and restarted it. It seems to still stop and start the first
instance that runs on port 80. I am in the right directory and my port
number in the httpd.conf is changed.



Is there anything else I could be doing wrong?

You probably need at least a "make clean" in between the two
configure's. Safer would be to rm -rf the compile directory and
re-extract the tarball.

You can still save the installs if you want. You just need to edit
apachectl and httpd.conf to point to all the correct paths.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux