First, get macport installed.
Then, follow this instruction here:
Make sure to disable the web sharing of MAC, which is default enabled.
And to start it, you will need to to run the daemons in /opt/local/etc/LaunchDaemons.
Example:
/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start
/opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start
DocumentRoot is located @ /opt/local/apache2/htdocs
Configuration @ /opt/local/apache2/conf
No comments:
Post a Comment