本帖最后由 365站群教程 于 2022-12-31 20:41 编辑
新版365建站器12.0请用
- RewriteEngine On
- RewriteBase /
- rewritecond %{QUERY_STRING} ^(.*)$
- RewriteRule ^((?!zzadmin|templ|uploads|data|images|index|install|source|plugins|favicon).*) /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
复制代码
以下为11.4旧版本,未来将移除
- RewriteEngine On
- RewriteBase /
- rewritecond %{QUERY_STRING} ^(.*)$
- RewriteRule ^((?!zzadmin|templets|uploads|data|images|index|install|source|plugins|favicon).*) /index\.php\?action=$1
- RewriteRule ^(templets/.*/[_\-A-Za-z0-9\.]+\.(css|htm)).*$ /index\.php\?action=$1
- RewriteRule ^(data|images|templets|uploads)/(.*)\.php(.*)$ /index\.php\?ext=php&action=$1
复制代码
|
|