codeigniter-查询字符串中的网站网址未找到错误

时间:2018-09-17 12:24:54

标签: php .htaccess codeigniter

我正在查询字符串中传递网站url,但未找到404页面。我检查了允许的uri字符是否为config,还检查了htaccess,但它不起作用。

URI示例如下:

https://www.example.com/dev/login/after_gmail_login?text=https://www.example2.com

配置

$config['permitted_uri_chars'] = 'a-z 0-9~%.:_,\-[]%+';
$config['enable_query_strings'] = FALSE; 
$config['controller_trigger'] = 'c'; 
$config['function_trigger'] = 'm'; 
$config['directory_trigger'] = 'd'; 
// experimental not currently in use route is :
$route['default_controller'] = "Login"; 
$route['404_override'] = ''; 
$route['translate_uri_dashes'] = FALSE;

0 个答案:

没有答案