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/
signature.asc
Description: OpenPGP digital signature
