Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Not realizing that OS X creates a ~/Sites folder when you enable web sharing, I started putting my sites for MAMP within a ~/Sites directory, which did not exist on my new laptop. Is this ok, as long as I don't enable web sharing? Even if I did enable it, would something happen to the other files I put in there?

share|improve this question
up vote 4 down vote accepted

It's fine, just realize the built in apache server will share the files you have placed there unless you change the apple supplied httpd.conf should you start up web sharing.

share|improve this answer
Thanks just wanted to make sure it wouldn't take over and delete any of my files. – jjeaton Sep 12 '11 at 20:41

Any files you put in the ~/Sites folder will be treated the same way most web hosts treat the files. HTML, images & scripts (scripts may need special changes to htaccess & httpd.conf) will be served normally from http://my-Mac-name-here.local/~jjeaton/ .

So, like a typical webserver, whatever files you put in there will not be changed unless you youself edit/move/delete them.

You should also double check the permissions so that only you have read/write/execute permission and group & others only have read/execute.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.