상황 : Ubuntu 7.04 + Apache2 (mod_rewrite on) + Wordpress Permalink
"../blog/.htaccess " 내용은 다음과 같다.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule># END WordPress
에러 : rewirte module load되었는데도,
"../archives/7 was not found on server" 발생
문제는 Directory 지시자의 "AllowOverride" 였슴.
해결 :
"/etc/apache2/site-available/default" 에서 다음 변경
<Directory /var/www>
AllowOverride None (x)
AllowOverride All (o)
...