Forum Moderators: phranque

Message Too Old, No Replies

DocumentRoot /Library/Apache2/htdocs

         

macgoober

2:16 pm on Feb 12, 2006 (gmt 0)



I'm a complete noob. I installed Apache 2.0.52 on Mac OS X 10.4.4

Problem is: can't get DocumentRoot to display a custom index.html page.

[127.0.0.1...] always displays the default Apache 2.0.52 test page.

[127.0.0.1...] does not locate any page even though index.html is in the username directory.

Any ideas?

Little_G

3:04 pm on Feb 12, 2006 (gmt 0)

10+ Year Member



Hi,

You need to set the DocumentRoot Directive to the directory that contains your index.html file i.e.

DocumentRoot /usr/web

It must be defined without a trailing slash.
The default httpd.conf should help you.

Andrew