Add .htaccess generation in installation process
Improve installation configuration to be less error-prone