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 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
> throwing up a 404, presumably because the request was not going through the
> framework.
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Redirecting-all-requests-to-one-route-tp4660699.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: fw-general@lists.zend.com
> Info: http://framework.zend.com/archives
> Unsubscribe: fw-general-unsubscr...@lists.zend.com
>
>
>

Reply via email to