[fw-general] Re: How to add RewriteRule to ZF default .htaccess ?

2010-11-19 Thread David Muir
I believe what you're wanting is something more along the lines of RewriteRule ^foo(.*)$ bar$1 [R=301,NC,L] That will rewrite foo/action/ to bar/action/ Note that it will also rewrite foo-dat-i-piddy/action" to bar-dat-i-piddy/action Cheers, David Colin Guthrie-6 wrote: > > 'Twas brillig, a

[fw-general] Re: How to add RewriteRule to ZF default .htaccess ?

2010-11-16 Thread Colin Guthrie
'Twas brillig, and Laurens van Vliet at 16/11/10 11:57 did gyre and gimble: > Problem with this code is that it is not working. > > When I try to open in my browser my application with /foo at the end of the > url, say for example: http://www.example.com/foo > then I get this error message: > Fat

Re: [fw-general] Re: How to add RewriteRule to ZF default .htaccess ?

2010-11-16 Thread Laurens van Vliet
Problem with this code is that it is not working. When I try to open in my browser my application with /foo at the end of the url, say for example: http://www.example.com/foo then I get this error message: Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Inval

[fw-general] Re: How to add RewriteRule to ZF default .htaccess ?

2010-11-16 Thread Colin Guthrie
'Twas brillig, and Laurens van Vliet at 16/11/10 11:11 did gyre and gimble: > Hi, > > I was wondering if it is possible to add some basic RewriteRules to the ZF > .htaccess? > Is it possible to match certain urls while there is not a corresponding > Controller/Action/View or Routes configured fo