CI 설정 관련 httpd 로그 확인 부탁드립니다.
안녕하세요.
질답 게시판 아무리 찾아봐도 답이 없어서 글 올립니다.
아래와 같은 과정으로 설치 및 세팅을 하였습니다.
http://1xx.1xx.1xx.2xx:18181 접속을 하면 정상적으로 웹페이지가 뜹니다만..
아래와 같이 rewrite 호출하는 부분에서 공백 페이지가 나타납니다.
http://1xx.1xx.1xx.2xx:18181/admin/notice/sendmail
1) 아파치 설정
rewrite 모듈 on 설정 후 아래와 같이 virtual host 설정해 주었습니다.
아이피 및 포트 설정 : 1xx.1xx.1xx.2xx:18181
DocumentRoot : /var/www/html/enadmin
2) 아파치 디렉토리 설정
<Directory "/var/www/html/enadmin">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
3) .htaccess 설정
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
4) 아파치 오류 로그
[Thu Jan 02 01:10:22 2014] [error] [client 2xx.2xx.1xx.2xx] File does not exist: /var/www/html/application, referer: http://1xx.1xx.1xx.2xx/enadmin/
어디를 살펴봐야 하는지 답변 좀 부탁드립니다.
감사합니다.
아파치 에러로그 봐서는 /var/www/html을 root 디렉터리로 보고 있습니다.