Mar 08, '05 10:11:00AM • Contributed by: Anonymous
Open Script Editor, and type the following line in, changing the placeholder value yourpassword to your administrator password:
do shell script ¬
"/usr/sbin/apachectl start" password ¬
"yourpassword" with administrator privileges
Save 'Start Apache' as file format Application in a convenient location. Set the application to run on startup (in 10.2, this is in the Preference Pane 'Login Items'). Energy Saver option 'Restart automatically after a power failure' must be checked. Toggle the switch on your power source to test (close all open files first, of course!).
