fixed permits issue that prevented RewriteOn on .htaccess