Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 12:18:54 +1000
From:      "Andrew" <andrew@iaccess.com.au>
To:        "Angelos Chatzikostas" <orion@energy.gr>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Restart Apache
Message-ID:  <01d001bd73de$5318a560$e34a05cb@alpine.iaccess>

next in thread | raw e-mail | index | archive | help
Go to the /usr/local/etc/rc.d directory and create a file called apache.sh

in this file type this:

#!/bin/sh
/usr/local/sbin/httpd -f /usr/local/etc/apache/conf/httpd.conf

make it chmod 0755 and reboot.

that should work :)

Andrew Specht                                   |  System Administrator
E-mail:  andrew@iaccess.com.au                  |  Internet Access Australia
Internet:  http://www.iaccess.com.au            |  Melbourne, Australia

-----Original Message-----
From: Angelos Chatzikostas <orion@energy.gr>
To: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG>
Date: Thursday, April 30, 1998 12:12 PM
Subject: Restart Apache


>Hallo,
>how can i restart the apache web server after reboot ?
>I put the following line in my  /etc/rc.local file but nothing happened
>/usr/local/sbin/httpd -f /usr/local/etc/apache/conf/httpd.conf
>plz help me
>THANKS!
>
>---------------------------------------------------------------------------
-
>--
>Angelos Chatzikostas
>orion@energy.gr
>Internet Consulting & Web Design
>Tel: +3031 818100 Fax: +3031 870087
>http://www.energy.gr
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d001bd73de$5318a560$e34a05cb>