Watch Star Fork

aming / ebookappPHP

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Copy Edit Raw Blame History
htaccess.txt 385 Bytes aming authored 2014-07-23 09:40 . 重新修改适应原抓取网站的变化
<IFMODULE mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule category/(.*)/(.*).html$ category.php?id=$1&page=$2
RewriteRule chapter/lst_(.*).html$ chapter_lst.php?id=$1
RewriteRule chapter/ctx_(.*).html$ chapter_ctx.php?id=$1
RewriteRule nav/(.*)/(.*)/(.*).html$ chapter_ctx_next.php?article_id=$1&chapter_id=$2&flag=$3
RewriteRule ^t_(.*).html$ test.php?id=$1 [L]

Comment ( 0 )

You need to Sign in for post a comment

Help Search