365建站器v12隆重发布,全新的界面,全新的体验,全新的功能,您值得佣有! 365建站器v12隆重发布! 立即查看

365建站Apache伪静态规则(宝塔Linux版+Apache)【2022年新】

发表在 新手指南/使用教程 2022-3-31 10:07:36 上一主题 下一主题 0 880

本帖最后由 365站群教程 于 2022-12-31 20:41 编辑

新版365建站器12.0请用
  1. RewriteEngine On
  2. RewriteBase /
  3. rewritecond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon).*) /index\.php\?action=$1
  5. RewriteRule ^(templ.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$  /index\.php\?action=$1
  6. RewriteRule ^(data|images|templ|uploads)(.*)\.php(.*)$  /index\.php\?ext=php&action=$1
复制代码




以下为11.4旧版本,未来将移除
  1. RewriteEngine On
  2. RewriteBase /
  3. rewritecond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^((?!zzadmin|templets|uploads|data|images|index|install|source|plugins|favicon).*) /index\.php\?action=$1
  5. RewriteRule ^(templets/.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$  /index\.php\?action=$1
  6. RewriteRule ^(data|images|templets|uploads)/(.*)\.php(.*)$  /index\.php\?ext=php&action=$1
复制代码

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则