Saturday, May 30, 2009

httpd.conf on Mac OSX

On Mac OSX Apache's httpd.conf is located here : /private/etc/apache2.

I wanted to add .xhtml files to the list of default pages served.  The solution is to simply add "index.xhtml" the "IfModule dir_module" entry on line 224:

<IfModule dir_module>
DirectoryIndex index.html, index.xhtml
</IfModule>

No comments: