Fixing .htaccess to ignore rewriting PHP files directly

Merge the other pull request here as well: https://github.com/silverstripe/sapphire/pull/993