Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: users

anyone chinese here?

 

 

Cherokee users RSS feed   Index | Next | Previous | View Threaded


lidande at gmail

Jan 24, 2010, 6:05 AM

Post #1 of 1 (101 views)
Permalink
anyone chinese here?

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.
Attachments: D34540FF@80EA0151.C3535C4B.jpg (93.2 KB)

Cherokee users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.