Sharing local Apache vhost over lan without Hosts/DNS change

apachedevelopmentNetworksnow leopardwebserver

I'm freelancing somewhere and want to share a local (on my MacBook) site with some LAN users via IP. The network structure, time and technical ability here don't allow me get everyone to add host entries or setup proper DNS..

So.. say I have http://devsite accessible on my own machine, is there a way that I can access this from the LAN via IP like: 'http://10.1.2.3/devsite' ?

I see that 'http://10.1.2.3/~mbp/' works for the default site (where 'mbp' is my machine name) but not sure how to get other sites working?

Cheeeers.

Added for clarity: the name 'devsite' is added in /private/etc/hosts by me, and the vhost is added to /private/etc/apache2/extra/httpd-vhosts.conf

Best Answer

When you turn on Web Sharing from the System Prefs there will be a LAN IP that will point to your local ~/Sites folder. All you would have to do is have those on the LAN point there browsers to http://myLANIP/~username/devsite where devsite is a folder inside of your ~/Sites folder.