Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 66075 invoked by uid 500); 3 Jul 2002 20:33:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 66064 invoked from network); 3 Jul 2002 20:33:04 -0000 Received: from server6.carpediem-it.co.uk (HELO inmylounge.com) (209.102.23.65) by daedalus.apache.org with SMTP; 3 Jul 2002 20:33:04 -0000 Received: from [192.168.1.10] (host217-35-80-227.in-addr.btopenworld.com [217.35.80.227]) by inmylounge.com (8.9.3) with ESMTP id NAA25066 sender barrie.robinson@emotus.com for ; Wed, 3 Jul 2002 13:33:08 -0700 User-Agent: Microsoft-Entourage/9.0.2509 Date: Wed, 03 Jul 2002 21:33:10 +0100 Subject: Re: Auto Startup Apache Server on Boot in OSX From: Barrie Robinson To: Message-ID: In-Reply-To: <3D234637.3010605@pegasus.montclair.edu> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks, I'll take a look tomorrow. > Barrie Robinson wrote: >> It may be a simple config or perhaps something else in OSX? I?m wanting >> to set up my OSX system so that Apache starts on system boot (and auto >> login). Has anybody done this? Sorry I?m kinda new to Apache on OSX. >> >> Thanks. >> >> >> >> Barrie Robinson | Emotus | 27C Highbury Park London N5 1TH >> >> Mobile +44 (0) 7813 795 363 Main +44 (0) 207 704 8089 >> UK Fax +44 (0) 207 900 2357 US Fax +1 (0) 801 218 8345 >> >> _mailto:barrie.robinson@emotus.com_ > > Barrie, > > There are a couple of things you can do... > If you edit your /etc/hostconfig file you will see a bunch of > capitalized names with the syntax ITEM=-VALUE- > look for WEBSERVER=-NO- and change it the NO to YES > > If you have compiled your own version of Apache, and did not use the > configure option layout=Darwin and put it in its own directory, it is > likely that OS X will run the stock apache program. > I believe OSX equivalent of /etc/init.d or /etc/rc/ is > /System/Library/StartupItems > There are many directories in there that point to Apache, Sendmail, > Cron, and other services. > I think what you would want to do if Apache didnt exist would be to copy > the files from one of the other services and just change everything to > point to Apache, and make sure that the apachectl you are referencing is > the one from the install you are doing. > > I figured this out by looking at /etc/rc script which says not to add > anything to this script to startup a service, although you probably can, > but to add the item to the startup directory. > > Peter Musolino > Montclair State University > Upper Montclair, NJ 07043 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > Barrie Robinson | Emotus | 27C Highbury Park London N5 1TH Mobile +44 (0) 7813 795 363 Main +44 (0) 207 704 8089 UK Fax +44 (0) 207 900 2357 US Fax +1 (0) 801 218 8345 mailto:barrie.robinson@emotus.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org