So I'm following along and can't seem to get this htaccess right. A little help would be much appreciated. When I remove index.php i get the 404 error.
Environment:
Windows 7 / Zend Server Apache
http://localhost:8080/testapp/index.php
.htaccess inside the /testapp/ dir is:
------
<ifModule mod_rewrite.c>
# Turn on the engine:
RewriteEngine on
# Don't perform redirects for files and directories that exist:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# For everything else, redirect to index.php:
RewriteRule ^(.*)$ index.php/$1
</ifModule>
------
main.php contains:
'showScriptName'=>false
in httpd.conf
AllowOverrides All