365站群教程 发表于 2022-3-31 10:07:36

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

新版365建站器12.x请用
  1. RewriteEngine On
  2. RewriteBase /
  3. rewritecond %{QUERY_STRING} ^(.*)$
  4. RewriteRule ^((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon|\.well-known).*) /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
复制代码


页: [1]