tekin.co.uk

mod_rails and apache on OS X Leopard

I was going to write up my experience rolling mod_rails on the default install of Apache to tidy up my development environment, but someone beat me to it!

There’s only one thing I did differently - I like to keep my apps in the Sites folder to keep things tidy - so in the spirit of keeping things DRY I won’t duplicate an already good write-up, but I will add a couple of points that caught me out.

Apache 2 and NameVirtualHost

If you find that Apache will only serve up the first of your virtual hosts, check you’ve correctly specified the NameVirtualHost directive.

Beware, FileVault and permissions

If you’re running FileVault, you might have a bit of fiddling to do with your file permissions.

Get more fab content like this straight to your inbox

You'll get an email whenever I have a fresh insight or tip to share. Zero spam, and you can unsubscribe whenever you like with a single click.

More articles on Ruby & Rails

Authored by Published by