질문
Q #12458
routes.php 설정 질문
인생초보
2015-08-24 14:53:31
일단 ver 2.2.3 입니다.
아래와 같이 설정하여서 테스트 중입니다만.
local 에서는 문제없이 잘 돌아갑니다.
문제는 centos 서버에 올리면 default 말고는
The requested URL /Consumer was not found on this server.
위의 오류가 발생합니다.
어디부분을 살펴봐야할지 잘 모르겠습니다.
어디부분을 살펴봐야할까요.
.htaccess 파일도 올렸습니다.
감을 못잡겠네요. 어떤 문제인지.
$route['default_controller'] = "oauth2/Oauth2/index";
$route['404_override'] = '';
//외부서비스
$route['consumer'] = "oauth2/Consumer/index";
$route['consumer/(:any)'] = "oauth2/Consumer/$1";
//유저
$route['oauth2/client'] = "oauth2/client/index";
$route['oauth2/client/(:any)'] = "oauth2/client/$1";