pacopepe22 pacopepe22 schreef:
> The rules that I need to add are:
> 
> 
> RewriteEngine on
> RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
> 
> 
> I think that I can insert in the virtual server conf, but... how?

Now that doesn't look like a challenge ;)


1) Start up your Cherokee-admin thingie
2) Virtual servers
3) Behavior
4) Add new rule, rule type: Regular Expression
5) Regular Expression: \.(js|ico|gif|jpg|png|css)$
6) Handler
7) None -> Redirection
8) Show: Internal
9) Regular Expression: .*
10) Substitution: index.php


Submit :)

If I'm wrong someone else will correct it :) The only thing I'm not 
confident are the last too rules :) but check it out ;)


Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to