From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 16:51:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E0A216A4CE for ; Thu, 3 Mar 2005 16:51:44 +0000 (GMT) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A1F143D2F for ; Thu, 3 Mar 2005 16:51:44 +0000 (GMT) (envelope-from david.larkin@djl.co.uk) Received: from sparrow (secure.djl.co.uk [213.208.117.42]) by smtp.nildram.co.uk (Postfix) with SMTP id 3B0642BAF80; Thu, 3 Mar 2005 16:51:40 +0000 (GMT) Date: Thu, 3 Mar 2005 18:10:39 +0000 From: David Larkin To: "Ean Kingston" Message-ID: <20050303181039.288e0a7d@sparrow> In-Reply-To: <2556.216.220.59.169.1109868504.squirrel@216.220.59.169> References: <20050303175842.788f2485@sparrow> <2556.216.220.59.169.1109868504.squirrel@216.220.59.169> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: "questions@freebsd.org" Subject: Re: apachectl startssl at boot time ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 16:51:44 -0000 On Thu, 3 Mar 2005 11:48:24 -0500 (EST) "Ean Kingston" wrote: > > > Hi, > > > > I can start apache with SSL ok from the command line > > > >> apachectl startssl > > > > I've now put the following into /etc/rc.conf hoping that it will start at > > boot time. > > > > apache_enable="YES" > > apache_flags="startssl" > > Try > > apache_flags="-DSSL" Works a treat .... thanks ;-) > > instead. > > > This starts Apache on boot time but not with SSL > > > > It seems like startssl is being passed as an argument to httpd rather than > > apachectl. > > You are right, the startup scripts call httpd directly. If you look at the > apachectl script you will see that the 'startssl' command does the > following: > > startssl|sslstart|start-SSL) > if [ $RUNNING -eq 1 ]; then > echo "$0 $ARG: httpd (pid $PID) already running" > continue > fi > if $HTTPD -DSSL; then > echo "$0 $ARG: httpd started" > > So, if you do what I said above, your web server will start up with ssl > support. > > -- > Ean Kingston > E-Mail: ean_AT_hedron_DOT_org > PGP KeyID: 1024D/CBC5D6BB > URL: http://www.hedron.org/ > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"