Re: [users@httpd] settings in /etc/init.d/httpd ?

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

 



On 6/3/05, Dan Mahoney, System Admin <danm@xxxxxxxxxxxxxxx> 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,

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