질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

htaccess설정 했는데... 500에러가 납니다...

작성자 정보

  • 다니엘SEO 작성
  • 작성일

컨텐츠 정보

본문

in.domain.or.kr로 접속을 하면 http://domain.or.kr/kin 로 접속을 하도록 하려고 합니다.



/home/domain/ 에 .htaccess 가 있습니다.

/home/domain/public_html/kin 으로 연결해야 합니다.



.htaccess에는 다음과 같이 설정 했습니다.



RewriteEngine On
RewriteBase /
RewriteCond $1 !^(kin)/
RewriteCond %{HTTP_HOST} ^kin\.domain\.or\.kr [NC]
RewriteRule ^(.*)$ /kin/$1 [L]



그런데 접속을 하면,

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



http.conf 에는
<Directory "/home/domain">
Options FollowSymLinks MultiViews
AllowOverride All
</Directory> 로 셋팅을 했습니다.

에러 로그는,
[Fri Dec 25 11:27:18 2009] [error] [client 121.000.000.000] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

입니다.

도움 좀 부탁드립니다 ㅠ.ㅠ

관련자료

댓글 1

눈여울님의 댓글

  • 눈여울
  • 작성일
설정하신 Rewrite rule 이 무한 루프에 들어간것 같습니다

이동시 주소부분에 kin.domain.or.kr/kin/.... 으로 Rewrite되어 발생하는부분인것 같습니다.

http://www.domain.or.kr/kin/$1 형테로 변경해보세요

공지사항


뉴스광장


  • 현재 회원수 :  60,037 명
  • 현재 강좌수 :  35,810 개
  • 현재 접속자 :  92 명