OS X apache permissions

Setting up a web server on OS X other than the built in one and serving sites from the Document directory always causes permissions headaches this stackoverflow response helped nut it out ( http://stackoverflow.com/questions/2001881/correct-owner-group-permissions-for-apache-2-site-files-folders-under-mac-os-x ) In Summary This is the most restrictive and safest way I’ve found, as explained here for hypothetical~/my/web/root/ directory for your web content:
Continue reading: OS X apache permissions

Getting rid of files from the command line

Dreamweaver’s check in and check out functionality can be quite useful when working with more than one person on a site but it creates heaps of .LCK files. If you want to remove them from the command line go to the top level directory and type this: find . -type f -name “*.LCK” -exec rm
Continue reading: Getting rid of files from the command line