I don't know anything about Macs, but on the grounds it's running Unix under the bonnet, check you have "127.0.0.1 localhost" listed as the first line of /etc/hosts.
I found the problem - it's in the way that Apple has set up the whole thing - in order to start the server, you need to enable other people to access the site on your computer. Which is a feature I had disabled, but you can't have _only_ a local server.
Anyway, the code I tried to test works, which is enough for now.
You should be able to edit the Apache configuration to deny access to all, then enable access from 127.0.0.1 - which would give you access locally, but block access from outside the machine.
Comments 10
Reply
Reply
Anyway, the code I tried to test works, which is enough for now.
Reply
Reply
Leave a comment