Fixed apache module and added option to specify the document root.