From owner-freebsd-questions Sun Jun 23 05:09:45 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA21323 for questions-outgoing; Sun, 23 Jun 1996 05:09:45 -0700 (PDT) Received: from blanco.sadeya.cesca.es (blanco.sadeya.cesca.es [192.94.163.146]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA21317 for ; Sun, 23 Jun 1996 05:09:42 -0700 (PDT) Received: from cyan.infortecnica.es ([193.148.6.29]) by blanco.sadeya.cesca.es (8.6.11/8.7.0) with SMTP id OAA06806; Sun, 23 Jun 1996 14:09:27 +0200 Message-ID: <31CD4F9E.3C4C@sadeya.cesca.es> Date: Sun, 23 Jun 1996 14:07:26 +0000 From: Carlos Amengual Organization: SADEYA X-Mailer: Mozilla 2.01 (Win95; I) MIME-Version: 1.0 To: dwhite@resnet.uoregon.edu CC: Interview w/ a boog , questions@freebsd.org Subject: Re: apache setup References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Doug White wrote: > > On Sat, 22 Jun 1996, Interview w/ a boog wrote: > > > I put the path string for calling the httpd.conf file - > > (e.g. /usr/local/www/server/httpd -f > > /usr/local/www/server/conf/httpd.conf) > > but i get an error saying that the '-f' is an invalid parameter. this > > error comes during boot right after it launches the apache daemon. > > If you have a 2.2 SNAP, then there is an option in /etc/sysconfig to turn > on apache. Make sure httpd is in the normal path and set apache_httpd to > YES in sysconfig. > > If it doesn't like -f, then don't use it. But it is a good idea to specify the -f or -d options explicitly instead of relying on defaults for the config files (I prefer to use "-d"). It is strange that it rejects "-f". Instead of adding more lines to /etc/rc, he (it? :-) should modify the line already in /etc/rc that uses the sysconfig file setting to launch Apache. Carlos -- ========================================================== Carlos Amengual - Sociedad Astronómica de España y América Avenida Diagonal, 377, 2 - 08008 Barcelona - Spain amengual@sadeya.cesca.es - http://www.sadeya.cesca.es/ ==========================================================