.htaccess伪静态重定位URL不成功,在线等帖
环境apache2.2+php5
.htaccess找不到网页,URL重写不成功,求问题解答,操作
一、加载rewrite_module
LoadModule rewrite_module modules/mod_rewrite.so
前的"#"去掉了。
二、下面的内容做了修改
<Directory "D:/sites/example/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
三、重定位规则
RewriteEngine On
RewriteRule ^(.*)$ index.php
问题出在哪里?应如何解决?在线等帖。