Sunday, June 12, 2011

The main reason why you have apache on mac is because of sharing (system preferences -> sharing -> web sharing). And by default, apache is configured to listen on port 80 and include a bunch of config files in /private/etc/apache2/[users,other]Virtual hosts are not setup by default.

Things I do for running a development server:- changed port to listen on another port (say 8000, 8080)- set up http auth for security reasons

About

HanWorks Research is a web-based research organisation. Through wide-ranging and thought-provoking perspectives, it aims to bring to people the latest on technology, politics and social issues around the globe.