Conditional directive in .htaccess

Fixes #351 - thanks for the report!