I'm developing a web app for mobile phones. To easily get a feel of how it is to use, I simply copied the app into
~/Sites (after enabling web sharing in the
http://localhost/~username/myapp.html works perfectly. But if I do an
ifconfig to get my IP address and navigate to the URL from my iPhone (substituting localhost with the IP address), I get an
Error 404. How can I troubleshoot and resolve this issue?