CI 묻고 답하기

제목 안녕하세요 IIS7 index.php 지우기 질문입니다.
글쓴이 유한무1 작성시각 2015/06/18 13:51:06
댓글 : 0 추천 : 0 스크랩 : 0 조회수 : 14840   RSS
검색해보고 적용해보고다가 안되서 질문드립니다.
일단 iis에서 적용중이고 phpinfo 는 정상적으로 작용합니다.
1. .htaccess 추가
<IfModule mod_rewrite.c>
    RewriteEngine On
 RewriteBase /
 RewriteCond $1 !^(index\.php|phpmyadmin|images|captcha|ckeditor|css|js|images|data|include|uploads|robots\.txt)
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

2. web.config
        <rewrite>
            <rules>
                <rule name="Rewrite to index.php">
                    <match url="index.php?" />
                    <action type="None" />
                </rule>
                <rule name="Rewrite CI Index">
                    <match url=".*" />
                    <conditions>
                        <add input="{REQUEST_FILENAME}" pattern="css|js|jpg|jpeg|png|gif|ico|htm|html" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php/{R:0}" />
                </rule>
            </rules>
        </rewrite>
추가 하였습니다.

3. config.php   
$config['index_page'] = '';

세부분 추가하였는데도 index.php 를 입력해야만 페이지가 출력되고있는데
혹시 ini설정이나 iis설정을 해야하는 부분이있는지 알고싶습니다.
답변부탁드립니다!
 다음글 사진을 여러장 올리려면 어떻게 해야할까요? (1)
 이전글 cron 질문드립니다. (2)

댓글

없음