[fw-general] .htaccess and Download Route Problem

2010-06-16 Thread info
Hi, in my application i have a the classic .htaccess file like: SetEnv APPLICATION_ENV development RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|jpeg|png|css|txt|rtf|pdf|doc|docx|xls|xlsx|ppt|pptx|mov|mpg|mp3|mp4|mpeg|avi|wmv|wmx|xml)$ index.php Then, in the router I added the following

Re: [fw-general] .htaccess and Download Route Problem

2010-06-16 Thread Nilesh Govindarajan
On 06/16/2010 08:37 PM, i...@antoniocaccese.it wrote: Hi, in my application i have a the classic .htaccess file like: SetEnv APPLICATION_ENV development RewriteEngine on RewriteRule !\.(js|ico|gif|jpg|jpeg|png|css|txt|rtf|pdf|doc|docx|xls|xlsx|ppt|pptx|mov|mpg|mp3|mp4|mpeg|avi|wmv|wmx|xml)$

RE: [fw-general] .htaccess and Download Route Problem

2010-06-16 Thread Vincent de Lau
You may try this: RewriteEngine on RewriteRule .*\.(js|ico|gif|jpg|jpeg|png|css|txt|rtf|pdf|doc|docx|xls|xlsx|ppt|pptx |mov|mpg|mp3|mp4|mpeg|avi|wmv|wmx|xml)$ index.php If you want all non-existent file requests to be redirected to ZF, then use this: RewriteEngine on RewriteCond