Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Apache 2 site troubles with permissions and folders' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Apache 2 site troubles with permissions and folders
Authored by: albockiole on Nov 06, '07 06:56:02AM

You'll have to edit your /etc/hosts file (this is where it is in Tiger, should be the same in Leopard) so your computer knows where to direct all traffic to d2.test.

Go to the end of the file and add the following:

# Development virtual hosts
127.0.0.1 d2.test

If you ever decide to add more virtual hosts, just put a space after the last host and add the next one, like so:

# Development virtual hosts
127.0.0.1 d2.test d3.test d4.test d5.test


[ Reply to This | # ]
10.5: Apache 2 site troubles with permissions and folders
Authored by: KenDRhyD on Nov 06, '07 07:48:25AM
I added the entry to /etc/hosts as you suggested and the error went away, but it is not showing the expected page. Instead I am getting the standard "Test Page for Apache installation", which indicates there is something wrong with the Apache configuration!

After stopping and starting web sharing a couple of times, I am now able to view my local web site, but not this virtual site.

[ Reply to This | # ]