리디렉션 301, 500에러나요

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
리디렉션 301, 500에러나요

QA

리디렉션 301, 500에러나요

답변 2

본문

RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{REQUEST_METHOD} !^POST$ [NC]
RewriteRule ^(.*)$ http://www.google.com/$1 [L,QSA,R=301]
RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{REQUEST_METHOD} !^POST$ [NC]
RewriteRule ^(.*)$ https://www.google.com/$1 [L,QSA,R=301]
 

 

추가했는데 301을 안하면 상관없는데 301로 리디렉션 걸면

아래처럼 경고가 나옵니다...

이런경우가 있나요? ㅜㅜ 카페24에서 소스 에러 검사했을때는 별문제 없는데 리디렉션만 걸면 저렇게 되네요

 

 

Internal Server Error

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

Please contact the server administrator at *** 개인정보보호를 위한 이메일주소 노출방지 *** to inform them of the time this error occurred, and the actions you performed just before this error.

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

Additionally, a 301 Moved Permanently error was encountered while trying to use an ErrorDocument to handle the request.

이 질문에 댓글 쓰기 :

답변 2

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 124,242
© SIRSOFT
현재 페이지 제일 처음으로