ahaha 发表于 2013-3-16 10:30:30

请教军哥,LNMPA伪静态和404不起作用应该怎么查

技术小白,请教了
以前安装过LNMPA没问题
现在安装后用几天时间才把资源传上去,没注意安装出错了没有,其它没发现就是伪静态和404不起作用不知应该怎么查
烦请军哥支招,非常感谢

我的.htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)index\.html$ $1/index.php
RewriteRule ^(.*)list-(+)\.html$ $1/plus/list.php?tid=$2
RewriteRule ^(.*)list-(+)-(+)-(+)\.html$ $1/plus/list.php?tid=$2&totalresult=$3&PageNo=$4
RewriteRule ^(.*)view-(+)-1\.html$ $1/plus/view.php?arcID=$2
RewriteRule ^(.*)view-(+)-(+)\.html$ $1/plus/view.php?aid=$2&pageno=$3

ErrorDocument 404 /404.html




404出错信息:

Object not found!The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404www.xh001.cn
Sat Mar 16 10:09:42 2013
Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.17p1

leexee 发表于 2013-3-16 15:37:51

我也出现了这个问题,

同一台服务器,

一个论坛伪静态正常,

另一个就是不行,

急求军哥帮帮。

veryad 发表于 2013-3-17 21:26:10

我的也是,wordpress固定链接设置了不起作用,虚拟主机里已经添加了wordpress和discuz的rewrite规则了。
页: [1]
查看完整版本: 请教军哥,LNMPA伪静态和404不起作用应该怎么查