Anything wrong with just simple redirect like this?
RewriteRule (.*)/foo/$ $1/foo [R=301,L]
IgorOn Tue, May 18, 2010 at 11:25 AM, Nilesh Govindarajan <lists@xxxxxxxxxx> wrote:
I am using Zend PHP Framework for my application, so all requests to non-existent files, directories (or links) are sent to /index.php/foo/a/b/c/d...
Now what happens is- /index.php/foo and /index.php/foo/ are the same page.
Same page with two different urls is considered bad, so how to redirect /foo/ to /foo.
--
Nilesh Govindarajan (निलेश गोविंदराजन)
Twitter: nileshgr
Facebook: nilesh.gr
Website: www.itech7.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx