大跌眼镜哉,,htacess怎么重写都无效~~
http.ini的没问题,
[ISAPI_Rewrite]<br /> <br /> # 3600 = 1 hour<br /> CacheClockRate 3600<br /> <br /> RepeatLimit 32<br /> <br /> # Protect httpd.ini and httpd.parse.errors files<br /> # from accessing through HTTP<br /> <br /> # duoduo Rewrite规则<br /> <br /> RewriteCond Host: (.*)stu80\.com$<br /> RewriteRule (.*) http\://www\.youyax\.com [R,I]<br /> <br /> RewriteCond Host: ^www\.stu80\.com$<br /> RewriteRule (.*) http\://www\.youyax\.com [R,I]<br /> <br /> RewriteCond Host: ^youyax\.com$<br /> RewriteRule (.*) http\://www\.youyax\.com [R,I]<br /> <br /> RewriteRule ^/forum/((Index|List|Content|admin|Vote|Message|Favor).*)$ /forum/index\.php/$1 [L]<br /> RewriteRule ^/m/((Index|List|Content|admin|Vote|Message|Favor).*)$ /m/index\.php/$1 [L]
RewriteEngine On<br />
<br />
#rewriteCond %{http_host} ^stu80\.com [NC]<br />
#rewriteRule ^(.*)$ http://www\.youyax\.com/$1 [R=301,L]<br />
<br />
#rewriteCond %{http_host} ^youyax\.com [NC]<br />
#rewriteRule ^(.*)$ http://www\.youyax\.com/$1 [R=301,L]<br />
<br />
RewriteRule forum/((Index|List|Content|admin|Vote|Message|Favor).*)$ /forum/index.php/$1<br />
#RewriteRule ^/m/((Index|List|Content|admin|Vote|Message|Favor).*)$ /m/index\.php/$1 [L]
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号