Hello all Would anyone know of a technique, ideally at the Apache level, that redirects requests to a module, controller or action, without a trailing slash to the same module, controller or action with a trailing slash.
For example: http://www.example/contact/sales is a valid request and displays the page. However, the desired behavior is to redirect to: http://www.example/contact/sales/ (note trailing slash). The "standard" Apache solution to this problem is described at http://is.gd/2D91v RewriteEngine on RewriteBase /~quux/ RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] However, this approach can not be used with a ZF application, as {REQUEST_FILENAME} is 'index.php'; '-d' cannot be used as '/contact/sales' is not an actual directory. TIA Jonathan Maron
