fix Clouse conditions
add apache .htaccess