optimize main .htaccess and allowed directory browsing in downloads folder