I’m using the include method to remove index.php:
# Remove index.php
# Uses the "include method"
# <a href="http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method">http://expressionengine.com/wiki/Remove_index.php_From_URLs/#Include_List_Method</a>
RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/(search|rss|work|ideas|events|about|contact|members|P[0-9]{2,8}) [NC]
RewriteRule (.*) /index.php/$1 [L]If I leave it like this, the default template will render at the root URL, but every other link gives the “No Input File Specified” error. I’ve found slews of other users with a similar problem, and they all seem to resolve it by adding a question mark to the last line after “index.php”:
RewriteRule (.*) /index.php?/$1 [L]This doesn’t solve the problem for me. It gives me different symptoms. Now every link just shows the default template.
All the support threads I find with users concerning these new symptoms, they say to resolve it the exact same way. To add the question mark… but for me, that’s what causes these symptoms.
I’m on MediaTemple dv 4.0, any one else have to tackle this issue? I feel like it must be an apache config problem. rewrite mod and such are turned on.