I'm trying to create a mod rewrite expression to redirect from localhost/1234 to localhost/controller/action?param=1234.
I have the following in my bootstrap.php, which redirects all requests in the form localhost/number
$routePublic = new Zend_Controller_Router_Route_Regex('^[\d]+(\.[\d]+){0,1}$', array( 1 => '' ,'controller' => 'content', 'action' => 'public'));
However, I need to pass a param to my publicAction.
Thanks for the help. Newbies like me appreciate it more than you could ever believe!