2011-10-04 3 views
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] 
+0

[codeigniter의 하위 폴더를 가리 키도록 .htaccess를 수정하는 방법] (http://stackoverflow.com/questions/1484306/how-to-modify-htaccess-so-that-it) -point-to-a-code-codeigniter) – ThomasReggi

답변

2

는 것 같습니다.

+0

감사하지만 감사하기 전에 감사합니다. – ThomasReggi

관련 문제