CRMEB系统安装访问不了
生活随笔
收集整理的這篇文章主要介紹了
CRMEB系统安装访问不了
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
CRMEB v2.6開源地址:http://link.crmeb.net/u/lingting
完整幫助文檔:http://help.crmeb.net
后臺訪問地址
域名/admin
如果500錯誤檢查服務器環境,php版本要求5.5.9-7.0
如果404錯誤
檢查服務器偽靜態是否配置
?偽靜態
1、Nginx
location / {if (!-e $request_filename) {rewrite ^(.*)$ /index.php?s=$1 last;break;}}2、Apache .htaccess文件
RewriteEngine on#不顯示index.phpRewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]3、iis服務 web.config
<rewrite> <rules> <rule name="OrgPage" stopProcessing="true"> <match url="^(.*)$" /> <conditions logicalGrouping="MatchAll"> <add input="{HTTP_HOST}" pattern="^(.*)$" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> </conditions> <action type="Rewrite" url="index.php/{R:1}" /> </rule> </rules> </rewrite>更多參考:https://www.kancloud.cn/manual/thinkphp5/177576
或檢查服務器是否開啟隱藏index.php 訪問
用index.php/admin 訪問試試
如果無法修改偽靜態
用index.php?s=/admin 訪問試試
CRMEB系統 服務器無法設置偽靜態
找到application/route.php 文件添加一行?\think\Url::root('index.php?s='); 代碼如下圖
use \think\Route; //兼容模式 不支持偽靜態可開啟 \think\Url::root('index.php?s='); Route::group('admin',function(){?
總結
以上是生活随笔為你收集整理的CRMEB系统安装访问不了的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中国人民解放军第47军军部旧址位于哪里
- 下一篇: 广州有没有类似广州建博会的大型展会活动?