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
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)$
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