Hello there, It looks like it'd be something like this:
- Extension .php, handler FastCGI. Non-Final. - Extension .pl, (however you want to configure this). Non-Final. - File Exists (any), handler File. Final. - RegEx ^/(pl(/.*)?)$, handler Redirection, substitution: /mythweb.pl/ $1. Final. - RegEx ^/(.+)$, handler Redirection, substitution: /mythweb.php/$1. Final. - Default: handler Redirection, substitution: /mythweb.php. Final. Bare in mind that rules are evaluated from top to bottom, so the order does matter. Good luck! On 15/09/2009, at 10:23, David Becerril wrote: > Hi everybody. > > I am trying to setup mythweb in cherokee, but i am unable to > configure the rewrite rules properly. I have a apache configuration > and lighttpd and trying to put those for cherokee. > > > The rules needed are the following: > > "^/(css|data|images|js|themes|skins|[a-z_]+\.(php|pl)).*" => > "$0", > "^/(pl(/.*)?)$" => "/mythweb.pl/$1", > "^/(.+)$" => "/mythweb.php/$1", > "^/(.*)$" => "/mythweb.php" > > > I tried to insert them just as a regular expression and redirection > as a handler. But the css, data, images, js, themes, etc are not > working properly. > What are the rules should I use? > > Thanks for your help. > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
