2
코드을 projects
안에 넣으면 site.com/projects/light
처럼 보입니다. 어떤 이유로 든 표준 .htaccess
은 모든 전화를 index.php
으로 라우팅하지 않습니다. 무엇을 변경하거나 추가해야합니까? RewriteRule
오히려 /projects/light/index.php보다 /index.php을 리디렉션처럼디렉토리 내의 htaccess 코드 번호
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
[codeigniter의 하위 폴더를 가리 키도록 .htaccess를 수정하는 방법] (http://stackoverflow.com/questions/1484306/how-to-modify-htaccess-so-that-it) -point-to-a-code-codeigniter) – ThomasReggi