DirectoryIndex index.php

RewriteEngine On

# chan truy cap tmp/
RewriteRule tmp/.* - [F,L]