htaccess伪静态规则转lighttpd规则
RewriteEngineOnRewriteBase/#RewriteRulemalls\.html$/malls\.phpRewriteRuletaobao\.html...
RewriteEngine On
RewriteBase /
#
RewriteRule malls\.html$ /malls\.php
RewriteRule taobao\.html$ /taobao\.php
RewriteRule mall\.html$ /mall\.php
RewriteRule new\.html$ /new\.php
RewriteRule news\.html$ /news\.php
RewriteRule us\.html$ /us\.php
RewriteRule gift\.html$ /gift\.php
RewriteRule giftinfo\.html$ /giftinfo\.php
RewriteRule giftinfo-(.*)\.html$ /giftinfo\.php\?id=$1
RewriteRule huangguan\.html$ /huangguan\.php
RewriteRule huangguan-(.*)\.html$ /huangguan\.php\?id=$1
RewriteRule cuxiao\.html$ /cuxiao\.php
RewriteRule cuxiaoinfo\.html$ /cuxiaoinfo\.php
RewriteRule list-(.*)\.html$ /list\.php\?cid=$1
RewriteRule malls-(.*)\.html$ /malls\.php\?id=$1
RewriteRule search-(.*)\.html$ /search\.php\?q=$1
RewriteRule mall-(.*)\.html$ /mall\.php\?id=$1
RewriteRule item-(.*)\.html$ /item\.php\?iid=$1
RewriteRule us-(.*)\.html$ /us\.php\?id=$1
RewriteRule cuxiao-(.*)\.html$ /cuxiao\.php\?id=$1
RewriteRule cuxiaoinfo-(.*)\.html$ /cuxiaoinfo\.php\?id=$1
RewriteRule shop-(.*)\.html$ /shop\.php\?nick=$1
RewriteRule new-(.*)\.html$ /new\.php\?id=$1
htaccess伪静态规则转lighttpd规则,谁帮下忙啊?? 展开
RewriteBase /
#
RewriteRule malls\.html$ /malls\.php
RewriteRule taobao\.html$ /taobao\.php
RewriteRule mall\.html$ /mall\.php
RewriteRule new\.html$ /new\.php
RewriteRule news\.html$ /news\.php
RewriteRule us\.html$ /us\.php
RewriteRule gift\.html$ /gift\.php
RewriteRule giftinfo\.html$ /giftinfo\.php
RewriteRule giftinfo-(.*)\.html$ /giftinfo\.php\?id=$1
RewriteRule huangguan\.html$ /huangguan\.php
RewriteRule huangguan-(.*)\.html$ /huangguan\.php\?id=$1
RewriteRule cuxiao\.html$ /cuxiao\.php
RewriteRule cuxiaoinfo\.html$ /cuxiaoinfo\.php
RewriteRule list-(.*)\.html$ /list\.php\?cid=$1
RewriteRule malls-(.*)\.html$ /malls\.php\?id=$1
RewriteRule search-(.*)\.html$ /search\.php\?q=$1
RewriteRule mall-(.*)\.html$ /mall\.php\?id=$1
RewriteRule item-(.*)\.html$ /item\.php\?iid=$1
RewriteRule us-(.*)\.html$ /us\.php\?id=$1
RewriteRule cuxiao-(.*)\.html$ /cuxiao\.php\?id=$1
RewriteRule cuxiaoinfo-(.*)\.html$ /cuxiaoinfo\.php\?id=$1
RewriteRule shop-(.*)\.html$ /shop\.php\?nick=$1
RewriteRule new-(.*)\.html$ /new\.php\?id=$1
htaccess伪静态规则转lighttpd规则,谁帮下忙啊?? 展开
1个回答
展开全部
url.rewrite-once = (
“^/(.*)?/?files/$” => “index.php”,
“^/(.*)?/?files/(.*)” => “wp-content/blogs.php?file=$2〃,
“^/(wp-.*)$” => “$1〃,
“^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “$2〃,
“^/([_0-9a-zA-Z-]+/)?(.*\.php)$” => “$2〃,
“(\?.*)$” => “index.php$1〃,
“.” => “index.php”
)
模仿这个写一下就行了
“^/(.*)?/?files/$” => “index.php”,
“^/(.*)?/?files/(.*)” => “wp-content/blogs.php?file=$2〃,
“^/(wp-.*)$” => “$1〃,
“^/([_0-9a-zA-Z-]+/)?(wp-.*)” => “$2〃,
“^/([_0-9a-zA-Z-]+/)?(.*\.php)$” => “$2〃,
“(\?.*)$” => “index.php$1〃,
“.” => “index.php”
)
模仿这个写一下就行了
Storm代理
2023-07-25 广告
2023-07-25 广告
StormProxies是一家提供动态代理服务器服务的企业,旨在帮助用户更好地管理网络访问和安全。以下是一些关于StormProxies的IP动态代理服务的特点:1. 高匿名性:StormProxies的动态代理服务器具有高匿名性,可以有效...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询