httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Conover <justin.cono...@gmail.com>
Subject Re: [users@httpd] settings in /etc/init.d/httpd ?
Date Fri, 03 Jun 2005 14:52:15 GMT
On 6/3/05, Justin Conover <justin.conover@gmail.com> wrote:
> On 6/3/05, Dan Mahoney, System Admin <danm@prime.gushi.org> wrote:
> > On Fri, 3 Jun 2005, Justin Conover wrote:
> >
> > the httpd is defined interally to the apachectl script, as well as in your
> > httpd.conf
> >
> > -Dan
> >
> So are you saying I can edit the apahectl?
> 
> Here is the full explanation I can give you, we need multiple
> instances of apache on a server, without using "virtual servers."
> 
> So what I have done is created different httpd.conf (with other
> trimmings in /tools/httpd/<server-application-name.  I have given them
> there own startup scrips that call
> 
> apachetcl -f <path-to-httpd.conf> -k start
> 
> This all works fine and dandy expect, when we add something like
> siteminder into the mix and need to use /usr/sbin/envvars.  The SA's
> don't want us to be able to edit that file.
> 
> So what I have done was created a /etc/sysconfig/siteminder and
> /etc/init.d/httpd-server-app-name(cp of httpd) except edited that to
> use /etc/sysconfig/siteminder if it is there.  I have been sucsessful
> at starting it with adding -f <path-to-conf> after
> 
> httpd=${HTTPD-/usr/sbin/httpd.worker}
> 
> or in the start section
> 
> start() {
>         echo -n $"Starting $prog: "
>         check13 || exit 1
>         daemon $httpd -f /tools/httpd/dvmk0023-Z5S-Secure/conf/httpd.conf
> 
> Which works, but stopping it is another story, it will hang and other
> things that don't seem to be working correctly.  Maybe someone has a
> suggestion on a way the stop section should look?
> 
> 
> This info might help
> 
> conf=/tools/httpd/dvmk0023-Z5S-Secure/conf/httpd.conf
> pid=/tools/httpd/dvmk0023-Z5S-Secure/run/httpd.pid
> 
> Thank you,
> 

Oh, the reason I didn't use "virtuals" is we need to be able to
start/stop specific instances.  From my understanding this isn't
possible in the VirtualHost section, is that incorrect?

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


Mime
View raw message