allow for running with rails server

allow for running with rails server, makes development on mac possible without having to install full apache stack with ruby.