Added dependencies in spec file
Solves the short tag issue in htaccess
Added more validation of the environment
Removed deprecated comments style
Better handles redirect when no hostname specified
Fixed behavior of install & upgrade