From owner-freebsd-questions Sat Jul 27 15: 7:11 2002 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 785AD37B400 for ; Sat, 27 Jul 2002 15:07:08 -0700 (PDT) Received: from snickers.hotpop.com (snickers.hotpop.com [204.57.55.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00C8C43E42 for ; Sat, 27 Jul 2002 15:07:08 -0700 (PDT) (envelope-from rdwestsr@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [204.57.55.16]) by snickers.hotpop.com (Postfix) with SMTP id 8A43F71A1C for ; Sat, 27 Jul 2002 22:06:54 +0000 (UTC) Received: from hotpop.com (66-191-53-230.chartersc.net [66.191.53.230]) by smtp-1.hotpop.com (Postfix) with ESMTP id 4C5272F8167 for ; Sat, 27 Jul 2002 22:06:54 +0000 (UTC) Message-ID: <3D4318E7.E0F08F0@hotpop.com> Date: Sat, 27 Jul 2002 18:04:23 -0400 From: RDWestSr Organization: Webdesign X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions Subject: apache ssl help plz Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi guys, me again :) and what would i do without yall... i been reading and searching for a way to startup apache at boot... ok - i found many different ways or personal prefs. now in the FreeBSD User Guide ---------------------------------------- A generic startup script in /usr/local/etc/rc.d looks like: #!/bin/sh echo -n ' FooBar' case "$1" in start) /usr/local/bin/foobar ;; stop) kill -9 `cat /var/run/foobar.pid` ;; *) echo "Usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac exit 0 ------------------------------------------------------------- i've built apache 1.3.26 with mod_ssl --prefix=/usr/local/apache my apachectl file /usr/local/apache/bin/apachectl [start | startssl | stop | etc ] so i've made this -- ------------------ #!/bin/sh echo -n ' myhttp' case "$1" in start) /usr/local/apache/bin/apachectl startssl ;; stop) kill -9 `cat /usr/local/apache/logs/httpd.pid` ;; *) echo "Usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac exit 0 ------------- now it works great but one problem... when i created the certificate, it asked if i wanted to add a password to shadow it or something in the sort.. so when the box boots, it stops asking for auth/password b4 it will boot up... now, do i need to enter this pwd for cert? and if so, does anyone have a script to auto load the pwd at boot up? i'm total nooB to unix so plz be detailed tx again RDWestSr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message