Re: Diffeerent Apache Daemon on RHEL5.1

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

 



On Wed, Jun 4, 2008 at 4:45 PM, André Warnier <aw@xxxxxxxxxx> wrote:
>
>
> Eric Covener wrote:

>> Copying binaries doesn't seem to make a lot of sense.
>>
> Hi.
>
> You're right, on the face of it it does not seem to make a lot of sense.
> You should be able easily to run 2 instances of Apache from the same
> binaries.

Indeed, and that is what I do.

I have a default install of apache on my (solaris) system, which I
compiled from source, and afterwards didn't touch. I have it installed
in /opt/apache/httpd-<version>. That way I can even have different
versions of apache on the same machine.

Then I have different instances of webservers in
/opt/webserver/<servername>. Each of these directories has a conf
directory, a log directory and a htdocs directory. I also make a link
here to /opt/apache/httpd-<version>/modules and
/opt/apache/httpd-<version>/bin, so that I can use this dir as a
serverroot. I have a script that uses a servername as argument and
that starts a httpd instance with the correct binary, serverroot and
config. This allows me to start and stop each instance seperately.
Myapache script in /etc/init.d just iterates over the directories in
/opt/webservers and starts (or stops) them.

Krist

-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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