Improved HTACCESS rewrite rules and restricted directory listings