Thanks!

works pefect

all the best / johannes



Brenton Alker-3 wrote:
> 
> johannesf wrote:
>> Hi
>> 
>> Many thanks for the superb zend framework!
>> 
>> Well, I need to allow a special file in my ZF htaccess. Som I can access
>> that file and not let the zf route the access.
>> 
>> Example 'httm://www.domain.com/special.php' will not get routed by the
>> framework.
>> 
>> Is that possible?
>> 
> 
> Of course. If it's not working now, I imagine you are using a rewrite
> rule something like:
> 
> RewriteRule !\.(js|ico|gif|jpg|png|css)$ /index.php
> 
> Which says take any file that doesn't have one of those extensions and
> rewrite it to index.php
> 
> If you use a rule like
> 
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule .* /index.php
> 
> It will rewrite anything that isn't an actual file or directory to
> index.php. So any file (including php scripts) that actually exist under
> your document root will be directly accessible.
> 
> --
> 
> Brenton Alker
> 
> http://blog.tekerson.com/
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/htaccess---how-to-allow-a-file-to-get-pass-zf--tp21620586p21621215.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to