I successfully installed fink Apache2 in my Ibook with Panther, but I
can't have it as default.
I disabled web sharing and put these files into
/Library/StartupItems/Apache2
> #!/bin/sh
>
> ##
> # Apache2 Web Server
> #
>
> APACHECTL="/sw/sbin/apachectl"
>
> . /etc/rc.common
>
> StartService ()
> {
> if [ "${WEBSERVER:=-NO-}" = "-YES-" ]; then
> ConsoleMessage "Please disable Personal Web Sharing and restart."
> else
> ConsoleMessage "Starting Apache2 Web Server"
> $APACHECTL start
> fi
> }
>
> StopService ()
> {
> ConsoleMessage "Stopping Apache2 Web Server"
> $APACHECTL stop
> }
>
> RestartService ()
> {
> if [ "${WEBSERVER:=-NO-}" = "-YES-" ]; then
> ConsoleMessage "Please disable Personal Web Sharing and restart."
> StopService
> else
> ConsoleMessage "Restarting Apache2 Web Server."
> $APACHECTL restart
> fi
> }
>
> RunService "$1"
and
> {
> Description = "Apache2 Web Server";
> Provides = ("Web Server");
> Requires = ("DirectoryServices");
> Uses = ("Disks", "NFS");
> OrderPreference = "None";
> }
Are they correct or do I have to modify other network configurations
too?
Thanks!
Francesco
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users