Thanks Krist !!

Can you please provide me the script which is required to start and stop the 
apache daemon. As you said

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

\Vinay


-----Original Message-----
From: Krist van Besien [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 7:32 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Diffeerent Apache Daemon on RHEL5.1

On Wed, Jun 4, 2008 at 4:45 PM, André Warnier <[EMAIL PROTECTED]> 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

--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to