Mac/Apache question

May 13, 2010 15:34

I broke my Apache webserver installation ( Read more... )

apache, technology argh, website development

Leave a comment

Comments 10

lethargic_man May 13 2010, 14:03:50 UTC
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.

Reply

zanzjan May 13 2010, 15:45:42 UTC
exactly my first thought...

Reply

green_knight May 13 2010, 21:44:31 UTC
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.

Reply

botrytis May 13 2010, 22:17:54 UTC
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.

Reply


Leave a comment

Up