ci index.php 삭제
오늘은 ci index.php를 삭제하는 방법을 삽질끝내 성공했습니다.1. 아파치 루트디렉터리에 들어갑니다.2. htaccess 파일을 생성합니다.이때 파일 내용은 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [L]로 해서 저장해줍니다.이후 application/config/config.php로 들어갑니다.이후 $config['base_url'] = ""; $config['index_page'] = ""; 로 변경해줍니다.리눅스에서 /etc/apache2/apache2.conf 의 내용중Options Indexs FollowSymLinksAllowOverride AllRequire all grant..
Ubuntu
2018. 11. 11. 16:17