Nginx伪静态 转换为Apache 的
有段NGINX的伪静态请高手转会到apacherewrite^/help/([0-9\-]+)/$/aa.php?id=$1;rewrite^/2/([0-9\-]+)/...
有段NGINX的伪静态 请高手转会到apache
rewrite ^/help/([0-9\-]+)/$ /aa.php?id=$1;
rewrite ^/2/([0-9\-]+)/$ /aa.php?id=$1;
rewrite ^/help/$ /cateaa.php?path=help;
rewrite ^/help/page-([0-9]+)\.html$ /cateaa.php?path=help&page=$1;
rewrite ^/page-([0-9]+)\.html$ /index.php?page=$1;
rewrite ^/tag/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/tag/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/tag/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last;
rewrite ^/search/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/search/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/search/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last;
rewrite ^/cate/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/cate/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/cate/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last; 展开
rewrite ^/help/([0-9\-]+)/$ /aa.php?id=$1;
rewrite ^/2/([0-9\-]+)/$ /aa.php?id=$1;
rewrite ^/help/$ /cateaa.php?path=help;
rewrite ^/help/page-([0-9]+)\.html$ /cateaa.php?path=help&page=$1;
rewrite ^/page-([0-9]+)\.html$ /index.php?page=$1;
rewrite ^/tag/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/tag/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/tag/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last;
rewrite ^/search/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/search/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/search/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last;
rewrite ^/cate/([^/]+)/$ /search.php?keywords=$1 last;
rewrite ^/cate/([^/]+)$ /search.php?keywords=$1 last;
rewrite ^/cate/([^/]+)/page-([0-9]+)\.html$ /search.php?keywords=$1&page=$2 last; 展开
1个回答
Storm代理
2023-07-25 广告
2023-07-25 广告
StormProxies是一家提供动态代理服务器服务的企业,旨在帮助用户更好地管理网络访问和安全。以下是一些关于StormProxies的IP动态代理服务的特点:1. 高匿名性:StormProxies的动态代理服务器具有高匿名性,可以有效...
点击进入详情页
本回答由Storm代理提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询