LInux宝塔安装 报404错误

Linux集成 宝塔 wdcp 

1、wdcp安装首先看服务器环境是否复合wdcp安装要求

    查看Linux服务器版本信息       cat /etc/redhat-release

    安装支持系统:CentOS 5.X/wdlinux_base 5.X/wdOS 1.0,CentOS 6.X ,32位,64位均支持

2、宝塔安装后通过访问index.php入口文件 控制器报404错误

    在配置文件加入

    if (!-e $request_filename){

         rewrite ^/(.*)$ /index.php?s=/$1 last;

    }

猜你喜欢

转载自www.cnblogs.com/zhang-bin/p/10150588.html