apache2 - rewriterule 때문에 골치가 아픕니다 ㅠㅠ qsa

lacovnk의 이미지

wordpress 사용중입니다.

하고 싶은 동작은 간단합니다.

주소 중에 /lang/kr/ => lp_lang_view=kr 붙임

주소 중에 /comment-page-?/ -> cp=? 붙임
또는
주소 중에 /all-comments/ -> cp=all 붙임

그런데 각 플러그인에 있는 것들을 복사해서 붙여도 안되네요;

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php
</IfModule>

# END WordPress

RewriteRule ^(.*/)lang/([a-z]+)/?       $1?lp_lang_view=$2      [QSA]
RewriteRule ^(.+/)comment-page-([0-9]+)/?$ $1?cp=$2 [QSA,L]
RewriteRule ^(.+/)all-comments/?$ $1?cp=all [QSA,L]

그러나 해당 주소로 접근하면 404에러가 떠버립니다. 한편 로그에는 다음과 같이 남습니다.

Quote:
(13)Permission denied: cannot read directory for multi:

도와주세요; ㅠㅠ

lacovnk의 이미지

Quote:
(13)Permission denied: cannot read directory for multi:

http://defindit.com/readme_files/apache_13_error.html
을 참고하여 Multiviews를 제거했더니 위의 에러는 나오지 않습니다 :)

허나 여전히 rewrite는 되지 않는군요 orz 404로 뜹니다 ㅎ