mod_rewriteを有効にする@debian

このエントリーをはてなブックマークに追加
はてなブックマーク - mod_rewriteを有効にする@debian
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Bookmark this on Livedoor Clip
Share on FriendFeed

a2enmod rewrite
/etc/init.d/apache2 force-reload

なんでこれはaptitudeじゃないのかしら。
そこらへんよくわからないけども a2enmod というコマンドを使うらしい。
そしてreload。(その後他の都合で何度かapache再起動したが。)

Options +SymLinksIfOwnerMatch

バーチャルホストの設定ファイルにコレを追加。
これをやらないと、パーミッションの設定は問題ないように見えるのに
403のエラーが出る

Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /path/to/access/dir

こんな具合に。

This entry was posted in 未分類. Bookmark the permalink.