Re: Multiple concurrent instances of apache

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

 



On 9/30/07, Ian Johnson <cjohnsoia@xxxxxxxxx> wrote:

>
> Am I doing thinks a little backwards here. I simply have a requirement that:
>
>    1. I can't use a name based servers, and
>    2. I want to keep two completely separate and independent server roots.
>
> Is this not possible?
>

I have had this bookmarked for about a year now:

Running Name-Based SSL Virtual Hosts in Apache
http://www.onlamp.com/pub/a/apache/2005/02/17/apacheckbk.html

I've never actually read the article, but the topic looked
interesting, it might be able to help you.

That being said - if you really want to run two instances, you need to
configure your Listen directive to bind only to a certain IP address.
By default, Apache is configured to bind to every interface.

You control this via the Listen directive:

http://httpd.apache.org/docs/2.2/bind.html

Your 'utility' instance would be bound only to locahost, so you'd edit
it's httpd.conf like:

Listen 127.0.0.1:80
Listen 127.0.0.1:443

Also, you can treat localhost like a normal IP address and configure
it with as an IP based virtual host...

HTH, or atleast gets you going in the right direction.

-- brian

---------------------------------------------------------------------
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