You might want to see this answer:
You can only use .htaccess in the lamp-poc (Apache HTTPD) project.