Options -Indexes
deny from all

<Files "rew.lib.php">
Allow from all
</Files>