update main.rb .htaccess