On 03-feb-09, at 06:06, Johnny Robeson wrote: > Ihsan Sabri <ishobr <at> gmail.com> writes: > >> I am new to cherokee configuration syntax. How to implement this >> apache > rewrite rules in cherokee: RewriteEngine On RewriteRule ^/fcke.* - > [L] RewriteRule > !\.(txt|html|gif|css|js|jpg|jpeg|cgi|png|htc|swf|flv|jar|ico|xml|gz| > bz2)$ > /home/mydomain/public_html/index.phpTIAIhsan >> > use the File Exists Rule type and check Any File and put it above > the php > rule instead of doing all that mess. > > never believe a mod_rewrite rule that lists everything by hand like > that
That would work, indeed. However, if you are looking for for performance, the server would be slightly faster if you added an extension rule with all those extension and set it to use the "Static content" handler. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
