cxzlr 发表于 2011-1-3 10:52:31

怪异的问题,哪位帮我看看如何解决。

我在controllers 下建立一个error.php

里面有 class Error extends Controller {
        function __construct()
        {
                parent::Controller();       
        }
        function index(){       
               
                }
               function windowshow(){
               }

我在本地测试正都是正常的,传上服务器就出如何问题,请高手帮忙解决呀。
我访问 http://www.域名.com/error,此时会自动找到   index并实现输出
如果访问http://www.域名.com/error/index 或者访问 error/windowshow的话,有如下提示

Not Found
The requested URL /error/index was not found on this server.

--------------------------------------------------------------------------------

Apache/2.2.3 (CentOS) Server at www.tujin.com Port 80

Hex 发表于 2011-1-3 15:40:15

你的 rewrite 是怎么实现的?
应该是和你的服务器有关。
页: [1]
查看完整版本: 怪异的问题,哪位帮我看看如何解决。