小夜,来帮帮忙!伪静态问题。
8513
- zisetian2010-12-25注册会员12545
我用的LNMP一键安装包装的84的VPS
遇到3个问题。
1.伪静态的问题。不知道如何操作。我的 .htaccess 文件代码如下.- RewriteEngine On
- RewriteBase /
- - - RewriteRule index\.html$ /index\.php
- RewriteRule fenlei\.html$ /fenlei\.php
- RewriteRule help/index\.html$ /help/index\.php
- RewriteRule help/cjwt\.html$ /help/cjwt\.php
- RewriteRule help/fxlc\.html$ /help/fxlc\.php
- RewriteRule help/lxwm\.html$ /help/lxwm\.php
- RewriteRule help/tgjh\.html$ /help/tgjh\.php
- RewriteRule mulu-sp-(.)-ep-(.)-cid-(.)-sr-(.)-area-(.)-q-(.)-liebiao-(.)-page-(.)\.html$ /list\.php\?sp=$1&ep=$2&cid=$3&sr=$4&area=$5&q=$6&liebiao=$7&page=$8
- RewriteRule mulu-(.*)\.html$ /list\.php\?cid=$1
- RewriteRule search-sp-(.)-ep-(.)-cid-(.)-sr-(.)-area-(.)-q-(.)-liebiao-(.)-page-(.)\.html$ /search\.php\?sp=$1&ep=$2&cid=$3&sr=$4&area=$5&q=$6&liebiao=$7&page=$8
- RewriteRule search-(.*)\.html$ /search\.php\?q=$1
- RewriteRule searchdp-q-(.*)\.html$ /searchdp\.php\?q=$1
- RewriteRule searchdp-q-(.*)\.html$ /searchdp\.php\?q=$1
- RewriteRule searchdp-sp-(.)-ep-(.)-cid-(.)-sr-(.)-area-(.)-q2-(.)-liebiao-(.)-page-(.).html /searchdp\.php\?sp=$1&ep=$2&cid=$3&sr=$4&area=$5&q=$6&liebiao=$7&page=$8
- RewriteRule searchdp1-sp-(.)-ep-(.)-cid-(.)-sr-(.)-area-(.)-q2-(.)-liebiao-(.)-page-(.).html /searchdp\.php\?sp=$1&ep=$2&cid=$3&sr=$4&area=$5&q=$6&liebiao=$7&page=$8
- RewriteRule tao-(.*)\.html$ /view\.php\?niid=$1复制代码2.这个伪静态放在哪里?如何操作?
3.我在84的VPS上放的是一个淘宝客API的程序,似乎运行起来很慢?为什么呢?
麻烦小夜了。
[ 本帖最后由 zisetian 于 2010-12-25 16:25 编辑 ]