VPS侦探论坛

 找回密码
 注册
查看: 4884|回复: 2

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

[复制链接]
发表于 2013-3-16 10:30:30 | 显示全部楼层 |阅读模式

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

我的.htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)index\.html$ $1/index.php
RewriteRule ^(.*)list-([0-9]+)\.html$ $1/plus/list.php?tid=$2
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/plus/list.php?tid=$2&totalresult=$3&PageNo=$4
RewriteRule ^(.*)view-([0-9]+)-1\.html$ $1/plus/view.php?arcID=$2
RewriteRule ^(.*)view-([0-9]+)-([0-9]+)\.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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-3-16 15:37:51 | 显示全部楼层


我也出现了这个问题,

同一台服务器,

一个论坛伪静态正常,

另一个就是不行,

急求军哥帮帮。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-3-17 21:26:10 | 显示全部楼层

我的也是,wordpress固定链接设置了不起作用,虚拟主机里已经添加了wordpress和discuz的rewrite规则了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 09:27 , Processed in 0.025654 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表