We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Apache Web-Serving with Mac OS X: Part 1
|
| Subject: |
|
Pages are displaying source code only |
| Date: |
|
2009-06-03 12:03:10 |
| From: |
|
lz9999
|
|
|
|
I have set up my Apache server on my Mac, however, when I place a index.html that I have created in the DocumentRoot directory (Library/WebServer/Documents) and type localhost in my browser to view it, it just displays the source code of the page only. I can't figure out what to do, the default Apache index files worked fine dispalying the web page and not the source code. |