On 19/02/2010, at 08:41, 秋爱 wrote:

> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteRule "^html/([^./]*)[/|]$" "/?f=$1"
> RewriteRule "^html/([^./]*)/([0-9]+).html" "/?f=$1&c=$2"
> RewriteRule "^html/([^./]*)/(view)_([0-9]+).html" "/?f=$1&a=$2&r=$3"
> RewriteRule "^html/([^./]*)/(view)_([0-9]+)_([0-9]+).html" 
> "/?f=$1&a=$2&c=$3&r=$4"
> RewriteRule "^html/([^./]*)/(send)_([0-9]+).html" "/?f=$1&a=$2&r=$3"
> </IfModule>
> 
> Who can help me to use it on cheroee?

I can!

> it's so hard for me..

You'll just have to create a few new rules from cherokee-admin:

* Rule:
   Match: RegEx = ^/html/([^./]*)[/|]$
   Handler: Redirection
            Regular Expression: (leave the field empty)
            Substitution:       /?f=$1

* Rule:
   Match: RegEx = ^/html/([^./]*)/([0-9]+).html
   Handler: Redirection
            Regular Expression: (leave the field empty)
            Substitution:       /?f=$1&c=$2

.. and so on and so forth.

--
Octality
http://www.octality.com/

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

Reply via email to