Apache .htaccess 失效有关问题 Home » IDC云服务 » Apache .htaccess 失效有关问题 Apache .htaccess 失效问题 RewriteRule ^/abc$ /index.php (httpd.conf 中有效,.htaccess 中无效) RewriteRule ^abc$ /index.php (httpd.conf 中无效,.htaccess 中有效) 移植规则时注意行首 / 即可。语法并没有错误,所以日志文件没有任何记载。