Re: [vox-tech] Configuring Multiple Apache Instances

2004-10-16 Thread Rod Roark
On Saturday 16 October 2004 04:01 pm, Jay Strauss wrote:
 Hi,
 
 I want to run 2 apache2 instances on a single box, NOT 2 virtual hosts. 
   Why, because they need to have different configurations.

Apache is very flexible... different how?

   Do I have to  
 install apache2 twice (or copy one install to another directory)?

No.

 Can't  
 I just do a apachectl and pass in a different httpd.conf file?

Yes, or whatever comes naturally for your distribution.
Check /etc/init.d/httpd or whatever.

The gotcha is that you can't bind both instances to port 80,
unless you have two IP addresses and are careful to have one
instance listen to only the first one, and the second to
only the other.

-- Rod
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Configuring Multiple Apache Instances

2004-10-16 Thread Jay Strauss
Rod Roark wrote:
On Saturday 16 October 2004 04:01 pm, Jay Strauss wrote:
Hi,
I want to run 2 apache2 instances on a single box, NOT 2 virtual hosts. 
 Why, because they need to have different configurations.

Apache is very flexible... different how?
Well, I'd like to have 2 apaches running one for my brother to develop 
against, and one for me to monkey with configurations, install other 
software and stuff without disrupting him, while I bring the server up 
and down.

Also, I'd like one instance to include one set of a directory structures 
, and another one to include a different set.  Like including my perl 
libs in one apache, and my brother's development perl libs in another.

I just do a apachectl and pass in a different httpd.conf file?

Yes, or whatever comes naturally for your distribution.
Check /etc/init.d/httpd or whatever.
I just installed from source.  But I don't see any way to pass in a 
different httpd.conf

Thanks
Jay
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Configuring Multiple Apache Instances

2004-10-16 Thread Rod Roark
On Saturday 16 October 2004 05:35 pm, Jay Strauss wrote:
...
 I just installed from source.  But I don't see any way to pass in a 
 different httpd.conf

http://httpd.apache.org/docs-2.0/invoking.html

Cheers,

-- Rod
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Configuring Multiple Apache Instances

2004-10-16 Thread Jay Strauss
Rod Roark wrote:
On Saturday 16 October 2004 05:35 pm, Jay Strauss wrote:
...
I just installed from source.  But I don't see any way to pass in a 
different httpd.conf

http://httpd.apache.org/docs-2.0/invoking.html
Cheers,
-- Rod
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Sorry,
-f /path/to/http.conf
Jay
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech