#1:365建站Apache伪静态规则(宝塔Linux版+Apache)【2024年新】
新版365建站器12.x请用- RewriteEngine On
- RewriteBase /
- rewritecond %{QUERY_STRING} ^(.*)$
- RewriteRule ^((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon|\.well-known).*) /index\.php\?action=$1
- RewriteRule ^(templ.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$ /index\.php\?action=$1
- RewriteRule ^(data|images|templ|uploads)(.*)\.php(.*)$ /index\.php\?ext=php&action=$1
页:
[1]