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>

Thursday, May 28, 2009

Lorem ipsum generator

I've used http://www.lipsum.com/ for generating lorem ipsum text for ages.

Thanks to this nettuts.com tutorial I discovered a new Lorem ipsum generator : http://www.blindtextgenerator.com/. It is nicely configurable.