Board logo

标题: [求助] 反馈个apache伪静态Bug请版主勿删 [复制链接] [打印本页]

作者: 学无止境    时间: 2013-1-28 20:00     标题: 反馈个apache伪静态Bug请版主勿删 [复制链接]

配置信息

程序版本 : 2.5 [查看最新版本]------这里是我所用程序的官方网站下载地址

操作系统 : Linux

运行环境 : Apache

上传附件限制 : 20M

执行时间限制 : 60秒

服务器域名/IP : www.jietouxiaochi.com [ 203.171.234.138 ]

剩余空间 : 32.86G


@admin


Apache 伪静态规则
<IfModule mod_rewrite.c>
RewriteEngine on

#不显示index.php

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule ^upload/(.*) index.php?m=public&a=photo&url=$1

</IfModule>

以上是  .htaccess 文件内容,
在linux高级自定义 rewrite规则里面自定义还是一样的!

Not Found

The requested URL /search-index.xhtml was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


上面是没有加载伪静态规则的404错误提示

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


上面是加载了伪静态规则的提示500错误

官方网站上没有错误,请老大看看是什么情况谢谢 @admin
作者: admin    时间: 2013-1-29 11:28

没看明白你的意思
作者: 火雪心    时间: 2013-4-25 22:39

同样遇到此问题
求解决。。
<IfModule mod_rewrite.c>
RewriteEngine on

#不显示index.php

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

</IfModule>




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2