如何在服务器中托管 Codeigniter?
How do I host Codeigniter in Server?
我是一名网络开发新手。我尝试托管 Codeigniter。在我主持之前,我编辑 config.php 和我的数据库中的代码:
$config['base_url'] = 'http://mbl.myburgerlab.com.kh/';
但是,我不能,错误是:
404 Page Not Found
The page you requested was not found.
请问谁能帮帮我?
在 config.php
试试这个
$config['base_url'] = ''; # keep empty
在routes.php
$route['default_controller'] = "";
As well as check your Spellings and Beware about case-sensitive
我是一名网络开发新手。我尝试托管 Codeigniter。在我主持之前,我编辑 config.php 和我的数据库中的代码:
$config['base_url'] = 'http://mbl.myburgerlab.com.kh/';
但是,我不能,错误是:
404 Page Not Found
The page you requested was not found.
请问谁能帮帮我?
在 config.php
$config['base_url'] = ''; # keep empty
在routes.php
$route['default_controller'] = "";
As well as check your Spellings and Beware about case-sensitive