So I'm creating a few webapps that need to be tested over our local network, the projects currently sit on my MacBook which uses the built in Apache "Web Sharing" server.
When developing locally, I just modify my hosts file and httpd-vhosts.conf to create virtual domains for each of my projects, and everything works fine and dandy.
The issue I'm running into is that now I have to test on networked iPads and iPhones, and the url for my project is no longer http://project.local but rather http://192.168.x.x/~user/project.local and all of my paths are now a mess, breaking the projects.
Whats the best way to serve up these pages without having to change all the relative paths manually?
Cheers!