The method htaccess uses to remove index.php sometimes needs to be changed per the environment. There are many other methods of index.php exlcusion
Alternativly
Replacing:
RewriteCond %{REQUEST_URI} !(.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/({ee:template_groups}|{ee:pages}|members|P[0-9]{2,8}) [NC]
RewriteRule ^(.)$ /index.php?/$1 [L]
With:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)$ /index.php/$1 [L]