I edited .htaccess as described here http://buildwithcraft.com/help/remove-index.php and added this 'omitScriptNameInUrls' => true, to craft/config/general.php, but it doesn't work.
Image:
I also have my .htaccess file set up:
RewriteEngine On # Send would-be 404 requests to Craft RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/(favicon.ico|apple-touch-icon.*.png)$ [NC] RewriteRule (.+) index.php?p=$1 [QSA,L]
This file is inside public folder and I also tried putting in in the directory that contains the public folder.
What happens is this: whether 'omitScriptNameInUrls' => true is added or not, the home displays fine without the index.php, but the internal pages require index.php to display.
The only thing that happens when I add 'omitScriptNameInUrls' => true is that the navigation spits out links without the index.php, and so the navigation breaks.
The good people at Craft said that my site (which is a retooling of the Happy Lager demo site) has been changed to a multi-environment config, which is why my config file looks the way it looks. Not sure if there's anything else that needs to me added to a multi-environment config to get the thing to work.
I have not been able to get any more clarification from Craft about this issue yet.
craft/config/general.php
file looks like?