Reputation: 177
My .htaccess file has the current setting:
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ $1\.php
When I enter mydomain.com/file it's ok, but when I access mydomain.com/file/ I get error 500.
There's no folder called "file", this problem appears with any path.
Upvotes: 0
Views: 174
Reputation: 6159
Try adding -MultiViews to your Options. If it still breaks, look at the apache error_log, you'll get the full explaination of what's going wrong.
Upvotes: 1