You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Farid Hamjavar <ha...@unm.edu> on 2002/10/22 04:31:37 UTC
[users@httpd] can this be done: 2 apache, 1 system, both on 80
apache 1.3.26 on linux rh 7.3
greetings,
to accomplish the Subject line ....
This is what I've set up so far but I have not done
any real testing yet so I wanted to check first:
I am using IP aliasing and I have created two different
IP# associated with the NIC of this system set up
and network-wise they work fine......
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0:0
And I plan to put this in one httpd.conf
Listen <IP of eth0>:80
and put this in another httpd.conf
Listen <IP of eth0:0>:80
Is that how it's done?
If not would any one point me to right
direction if this can be done at all?
Thanks,
Farid
UNM
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] can this be done: 2 apache, 1 system, both on 80
Posted by Amadej Bukorovic <ap...@minet.si>.
Hello,
It should work since they bind to different IPs but why not just use
one instance and configure it for IP based virtual hosts?
Usually that's what you use unless you have a good reason to run two
separate apaches...
Regards,
Amadej.
> -----Original Message-----
> From: Farid Hamjavar [mailto:hamjavar@unm.edu]
> Sent: Tuesday, October 22, 2002 4:32 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] can this be done: 2 apache, 1 system, both on
80
>
>
> apache 1.3.26 on linux rh 7.3
>
> greetings,
>
> to accomplish the Subject line ....
>
> This is what I've set up so far but I have not done
> any real testing yet so I wanted to check first:
>
>
> I am using IP aliasing and I have created two different
> IP# associated with the NIC of this system set up
> and network-wise they work fine......
>
> /etc/sysconfig/network-scripts/ifcfg-eth0
> /etc/sysconfig/network-scripts/ifcfg-eth0:0
>
>
>
> And I plan to put this in one httpd.conf
>
> Listen <IP of eth0>:80
>
> and put this in another httpd.conf
>
> Listen <IP of eth0:0>:80
>
>
>
> Is that how it's done?
>
>
> If not would any one point me to right
> direction if this can be done at all?
>
>
>
> Thanks,
> Farid
> UNM
>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Multiple copies of Apache on one Windows box...
Posted by Daniel Grace <ru...@earthlink.net>.
From: "Bruce Douglas" <be...@earthlink.net>
To: <us...@httpd.apache.org>
Sent: Thursday, October 24, 2002 6:53 PM
Subject: [users@httpd] Multiple copies of Apache on one Windows box...
> Hi..
>
> Back again!!... Started to take a look at how Apache works. On Windows, it
> appears as though you have to install Apache before you can run the app.
The
> install process seems to create a service which has to be present in order
> for Apache to run.
>
> I had hoped that running multiple copies of Apache might be as easy as
> copying the Apache folder structure to different folders and possibly
> renaming the Apache exe file and running!!! I modifed the differnet
> httpd.conf files but running the different Copies of Apache from the
> different folders seems to run into problems....
I haven't actually *done* this, however you might find this useful:
http://httpd.apache.org/docs/win_service.html
I believe the trick is to install each instance of Apache as its own service
with a unique service name. In fact, you may even be able to work with
simply ONE apache installation separate config files/directories for each
instance:
[from the page:] apache -i -n "service name" -f "\my server\conf\my.conf"
-- Daniel Grace
Certified 99.9998% lurker
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] two user directives
Posted by Farid Hamjavar <ha...@unm.edu>.
On Fri, 25 Oct 2002, Joshua Slive wrote:
> Date: Fri, 25 Oct 2002 11:25:12 -0400
> From: Joshua Slive <jo...@slive.ca>
> Reply-To: users@httpd.apache.org
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] two user directives
>
> Farid Hamjavar wrote:
>
> > apache 1.3.26 linux rh 7.2
> >
> > hello,
> >
> > we like to be able to use two user directives in one
> > httpd.conf and document below says (if I undrestood it
> > correctly), wrapping inside a suexec is the only way.
> >
> > http://httpd.apache.org/docs/mod/core.html#user
> >
> > Has any of you had expereince with incorporating two or
> > more users inside one httpd.conf?
>
>
> You don't explain what you hope to accomplish.
one of the virtual host segment of the httpd.conf
performs a sepcial service and we liked it to
operate under a different user for security reason
of course ........ it does not seem to be possible and we
also found a work-around (unrelated to apache/httpd) that
for now let us meet our need/requierment .....
Farid
UNM
>
> In general it isn't possible. But look at the perchild MPM in Apache
> 2.0. (But also realize that it is VERY expirimental.)
>
> 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@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] two user directives
Posted by Joshua Slive <jo...@slive.ca>.
Farid Hamjavar wrote:
> apache 1.3.26 linux rh 7.2
>
> hello,
>
> we like to be able to use two user directives in one
> httpd.conf and document below says (if I undrestood it
> correctly), wrapping inside a suexec is the only way.
>
> http://httpd.apache.org/docs/mod/core.html#user
>
> Has any of you had expereince with incorporating two or
> more users inside one httpd.conf?
You don't explain what you hope to accomplish.
In general it isn't possible. But look at the perchild MPM in Apache
2.0. (But also realize that it is VERY expirimental.)
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] two user directives
Posted by Farid Hamjavar <ha...@unm.edu>.
apache 1.3.26 linux rh 7.2
hello,
we like to be able to use two user directives in one
httpd.conf and document below says (if I undrestood it
correctly), wrapping inside a suexec is the only way.
http://httpd.apache.org/docs/mod/core.html#user
Has any of you had expereince with incorporating two or
more users inside one httpd.conf?
Thanks,
Farid
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Multiple copies of Apache on one Windows box...
Posted by Bruce Douglas <be...@earthlink.net>.
Hi..
Back again!!... Started to take a look at how Apache works. On Windows, it
appears as though you have to install Apache before you can run the app. The
install process seems to create a service which has to be present in order
for Apache to run.
I had hoped that running multiple copies of Apache might be as easy as
copying the Apache folder structure to different folders and possibly
renaming the Apache exe file and running!!! I modifed the differnet
httpd.conf files but running the different Copies of Apache from the
different folders seems to run into problems....
If anyone has actually managed to consistently get multiple copies of Apache
running on the same box, I'd like to talk with you to see what you did....
I really don't want to climb/change the code to accomplish this!!
Thanks
Bruce
bedouglas@earthlink.net
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] can this be done: 2 apache, 1 system, both on 80
Posted by Farid Hamjavar <ha...@unm.edu>.
I like to thank everyone for input.
Given our situation we will go with one httpd.conf
IP-based virtual hosting with two interfaces to segment
the traffic for two services thru our load-balancing hardware.
Farid
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org