Is it just me or is the ~/Sites folder gone in Lion?

It appears that the ~/Sites directory no longer exists in OS X Lion. I preferred working on sites there than in /Library/WebServer/Documents. Is there any way to change it back, or set it up so that I can work on sites in ~/Sites and have the files automatically moved to /Library/WebServer/Documents?


If you enable Web Sharing in System Preferences, you now have the option to create a Personal Website Folder which essentially creates a ~/Sites directory.


You can link them together with a Symlink:

cd ~
ln -s /Library/WebServer/Documents Sites

This will make ~/Sites behave as a alias of /Library/WebServer/Documents on the filesystem level, so it should work for all applications that you use.

The ideal way to fix this would be to fix the configuration for the webserver to support ~/Sites for each user again, but if you're the only user using the system, this method described here should work.


Just turning on "Web Sharing" doesn't add the Sites folder. You have to also click the "Create Personal Website Folder" to the right.