Pozdrawiam
Jędrzej Nowak

---------- Forwarded message ----------
From: Jędrzej Nowak <[email protected]>
Date: 2010/1/24
Subject: Re: [Cherokee] anyone chinese here?
To: 秋爱 <[email protected]>


Hey,

First of all: http://www.cherokee-project.net.cn/  Your friends from China
:)

Your rules are "generally" good, but add the "/" to the substitution
table...

Pozdrawiam
Jędrzej Nowak


2010/1/24 秋爱 <[email protected]>

> i'm a newer for cherokee.
> My english is not very well.
> so.maybe i will comment very slow...
> i'm trying Redirections,but it can't work...
> this is my .htaccess file.and picture is my config on cherokee.
>
> # BEGIN Sablog-X
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /
>
> RewriteCond %{REQUEST_FILENAME} -f [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^.*$ - [S=10]
>
> # 只带月份的归档
> RewriteRule ^date/([0-9]{6})/?([0-9]+)?/?$
> index.php?action=index&setdate=$1&page=$2 [QSA,L]
>
> # 无分类翻页
> RewriteRule ^page/([0-9]+)?/?$ index.php?page=$1 [QSA,L]
>
> # 分类
> RewriteRule ^category/([0-9]+)/?([0-9]+)?/?$ index.php?cid=$1&page=$2
> [QSA,L]
> RewriteRule ^category/([^/]+)/?([0-9]+)?/?$ index.php?curl=$1&page=$2
> [QSA,L]
>
> # 用户列表、高级搜索、注册、登陆
> RewriteRule ^(search|reg|login|index|links)/?$ index.php?action=$1 [QSA,L]
>
> # 全部评论、标签列表、引用列表 带分页
> RewriteRule ^(taglist|index)/?([0-9]+)?/?$ index.php?action=$1&page=$2
> [QSA,L]
>
> # 文章
> RewriteRule ^archives/([0-9]+)/?([0-9]+)?/?$
> index.php?action=show&id=$1&page=$2 [QSA,L]
>
> # 用户
> RewriteRule ^uid/([0-9]+)/?([0-9]+)?/?$
> index.php?action=finduser&uid=$1&page=$2 [QSA,L]
> RewriteRule ^user/([^/]+)/?([0-9]+)?/?$
> index.php?action=finduser&user=$1&page=$2 [QSA,L]
>
> # 自定义链接
>
>
> help me.thanks.
>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to