[2021-04-07修正]
365建站apache服务器伪静态规则httpd.conf的配置方法:
RewriteEngine On
RewriteBase /
rewritecond %{QUERY_STRING} ^(.*)$
RewriteRule ^(sitemap\.xml|sitemap\.html)$ /plus/list\.php\?typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/list-([0-9]+)-([0-9]+).html /plus/list\.php\?tid=$2&PageNo=$3&typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|sitemap|index|robots|favicon).*)/class-([0-9]+)-([0-9]+).html /plus/list\.php\?classid=$2&PageNo=$3&typestr=$1
rewritecond %{QUERY_STRING} ^(.*)$
RewriteRule ^list-([0-9]+)-([0-9]+).html /plus/list\.php\?tid=$1&PageNo=$2
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots)[health]+)([0-9]+)([\/]*)$ /plus/show\.php\?aid=$2&typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots)[_\-A-Za-z0-9]+)([\/]*)$ /plus/list\.php\?typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots).*)_([A-Za-z0-9]+)\.html$ /plus/show\.php\?aid=$2&typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots).*)/([0-9]+)([\/]*)$ /plus/show\.php\?aid=$2&typestr=$1
RewriteRule ^((?!zzadmin|templets|plus|uploads|data|images|install|include|Plugins|index|robots).*)/([0-9]+)\.html$ /plus/show\.php\?aid=$2&typestr=$1
RewriteRule ^templets/([_\-A-Za-z0-9]+)/style/([_\-A-Za-z0-9]+).css(.*)$ /plus/style.php?dir=$1&filename=$2
nginx服务器伪静态规则的配置方法 :
https://bbs.365jz.com/thread-3721-1-1.html
|
|