NetBeans 6.5 just came out, so I worked through a JQuery tutorial to try its JavaScript support.

If you make a new web project, you can specify a folder to hold the project and a URL to view it at. This lets you do live debugging of webapps, etc.

FileVault makes your home directory mode 700 (which is perfectly sensible), so OSXs Apache can’t see my Sites folder.

My workaround was to create another directory I could use :

sudo mkdir -p /Users/rasputnik-pub/docroot
sudo chown -R rasputnik /Users/rasputnik-pub

and then point apache to that by creating /etc/apache2/other/fix-filevault.conf that looks like :

Alias /rasputnik/ /Users/rasputnik-pub/docroot/
<Directory /Users/rasputnik-pub/docroot>
  Allow from all
</Directory>
# advertise via Bonjour, like a 'real' Sites directory
RegisterResource "Rasputnik" /rasputnik

Now kick apache

sudo apachectl restart

and content under /Users/rasputnik-pub/docroot should be visible at http://localhost/rasputnik/ (or http://hostname.local/rasputnik/).