我是WINXP系统的,安装了APACHE+PHP+MYSQL,PHP源码都写好了,就是伪静态一直实现不了,一直提示404错误页面,这是为什么呢?
LoadModule rewrite_module modules/mod_rewrite.so已打开,AllowOverride All已改,请问还需要做什么吗?
我要实现:
http://www.aaa.com/index.php 到http://www.aaa.com/index.html
http://www.aaa.com/news_view.php?id=1 到http://www.aaa.com/news_view/1.html已写的HTACCESS如下:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ /index.php
RewriteRule ^news_view\([0-9]+)\.html$ /news_view.php?id=$1
RewriteRule ^news_view/([a-z0-9\-]+\.html)$ /news_view.php?$1
</IfModule>请问如何修改,急呀!