forrest
forrest

Reputation: 11012

Expression Engine hide index.php not working correctly

I am working on a site that was working before someone else made some changes to the site. Now, I have to include index.php to the URL before the contact form will work.

Here is the htaccess file code I am using:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]

What am I missing here?

Thanks.

Upvotes: 0

Views: 169

Answers (1)

Derek Hogue
Derek Hogue

Reputation: 4564

The ? after index.php indicates to me that you're running PHP as CGI ... perhaps that was changed?

Also see: https://stackoverflow.com/a/11143216/174299

Upvotes: 1

Related Questions