Re: [fw-general] Redirecting all requests to one route

2013-08-08 Thread Richard Jennings
I would probably use a simple module to always modify the route match controller and action. If the module is enabled, the route will be set as controller / action unless there is no route match in which case it will 404. I started out with some example code then formalised slightly as I think I

[fw-general] Redirecting all requests to one route

2013-08-07 Thread tonystamp
Hey all, i'm wondering if there's a way to redirect all requests to a single route? I am working on a site and want to upload the work-in-progress page, and have all requests sent to that route that displays that page. When i tried editing my .htaccess to send all requests to that page it was

Re: [fw-general] Redirecting all requests to one route

2013-08-07 Thread Michael Gooden
Hi Tony, Create a segment route of '/*', and make sure it is registered last. This will catch all requests that could not be routed by existing routes. Cheers, Michael On 8 August 2013 00:53, tonystamp tonyst...@hotmail.co.uk wrote: Hey all, i'm wondering if there's a way to redirect all