On 25/02/2005, at 10:05 PM, Tim Law wrote:
Following the previous posts in this thread and I have searched for a
file
called httpd.conf and a folder called httpd or etc with a nil return
for any
of them.
The httpd folder lives in /etc , which is hidden by default.
To edit httpd.conf, you'll need to use either the command line
(Terminal), or an application that can open hidden files.
TextWrangler from BareBones software is an excellent tool for this, and
it's free!
<http://www.barebones.com/products/textwrangler/index.shtml>
It allows you to "Open Hidden...", which will let you see all of the
folders and files that are really on your system.
(obviously use caution with any modifications!
Permissions on system config files will require that you authenticate
before you can make changes.
I've put my own index.html file into Library/WebServer/Documents but
still
get the default Apache page when I click on http://localhost/ in the
System
Preferences Sharing screen. Same goes when I put my own index.html
page in
the sites folder.
Check permissions on the /Library/WebServer/Documents/index.html file -
should be readable by all.
Refresh while holding down the shift key.
When I click refresh at http://localhost/ in my browser I get a denied
access error page 403.
as above - sounds like a permissions problem.
Yes, I've turned on Personal Web Sharing.
I'm running broadband through Highway1 with a fixed IP address and had
hoped
to be able to serve my website from my eMac.
DNS setup and port forwarding through your ADSL modem are the next
issues you'll want to consider - but that's two whole other cans of
worms.
HTH
Steve.