Appendix
Testing Any lightttpd.conf Changes
lighttpd -t -f /etc/lighttpd.conf (Test the lighttpd.conf)
lighttpd -f /etc/lighttpd.conf (load lighttpd manually)
killall lighttpd (Restart or Stop lighttpd if Plist 1 & 2 Not Used)
Manual Installation
apt-get -y install top
apt-get -y install nano
apt-get -y install php
apt-get -y install lighttpd
apt-get -y install wget
apt-get update
apt-get -y upgrade
mkdir /private/var/www
chown root:wheel /private/var/www
mkdir /var/log/lighttpd
chown root:wheel /var/log/lighttpd
launchctl unload -w /System/Library/LaunchDaemons/com.apple.syslogd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.DumpPanic.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.DirectoryService.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Jetsam.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.SafetyNet.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.SimulateCrash.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.StackShot.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.racoon.plist (Used for VPN Do not unload if using proxy service)
launchctl unload -w /System/Library/LaunchDaemons/com.apple.AdminLite.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mobile.profile_janitor.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.aslmanager.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.powerlog.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.chud.chum.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.chud.pilotfish.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.tcpdump.en0.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.tcpdump.pdp_ip0.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.marco.tcpdump.en0.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.MobileInternetSharing.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mobile.obliteration.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.AddressBook.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.voiced.plist
launchctl unload -w /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.locationd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.fairplayd.*.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mediaremoted.plist
launchctl unload -w /System/Library/LaunchDaemons/com.bigboss.sbsettingsd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.AOSNotification.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.tcpdump.server.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.VoiceOverTouch.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.gamed.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.searchd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.scrod.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.livetrace.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.itunesstored.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.dataaccess.dataaccessd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.accessoryd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.midiserver.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.itdbprep.server.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.gmmd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.sharktrace.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.printd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mobile.storage_mounter.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.datamigrator.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.UIKit.pasteboardd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mediacontrold.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.daily.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.search.appindexer.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.CommCenterMobileHelper.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.CommCenterRootHelper.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.marcoagent.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.iapd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mtmergeprops.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.managedconfiguration.mdmd.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.managedconfiguration.profiled.plist
launchctl unload -w /System/Library/LaunchDaemons/com.apple.mobile.installd.mount_helper.plist
SFTP (
Filezilla) Transfer the config files ( file contents are below )
lighttpd.conf > /private/etc
mod_fastcgi.conf > /private/etc
php.ini > /usr/lib
404error.html > /private/var/www
(Plist1) com.http.lighttpd.plist > /Library/LaunchDaemons
(Plist2) com.http.lighttpd.plist > /System/Library/LaunchDaemons
reboot