| Sign In/My Account | View Cart |
| Article: |
Build Your Own Apache Server with mod_perl | |
| Subject: | Why replace the Personal Web Sharing tests? | |
| Date: | 2002-11-10 10:23:11 | |
| From: | anonymous2 | |
|
Just modify the built-in StartupItem to call your version of apachectl instead of the default location, and that way you can use the checkbox in System Preferences to control your version of Apache instead.
|
||
Showing messages 1 through 5 of 5.
Re: Why replace the Personal Web Sharing tests?
Why replace the Personal Web Sharing tests?While this will work, there are a number of issues with it that you should be aware of:
/System directory hierarchy is technically for the OS only, so YMMV.A better solution, offered by another attentive reader, is to leave the variable tests in, but rename them, e.g.,
if [ "${APACHE:=-NO-}" = "-YES-" ]; then
Then just add the new APACHE variable to the /etc/hostconfig file and you're in business.
Regards,
David
Why replace the Personal Web Sharing tests?
HTH,
David