Top/Linux/Apache/モジュール/mod_rewrite

mod_rewrite の変更点はてなブックマーク


要求された URL をリアルタイムで書き換えるための、 ルールベースの書き換えエンジン

*インストール(DSO)
Apacheを再コンパイル
 ./configure --prefix=/usr/local/apache2048 \
 --enable-so \
 --enable-rewrite=shared
httpd.confにモジュールの追加
 vi /usr/local/apache2/conf/httpd.conf
>
 LoadModule rewrite_module modules/mod_rewrite.so

*実例
#ls


*参考
-[[エンタープライズ: Linux Tips - mod_rewriteで直リンクを禁止する>http://www.itmedia.co.jp/help/tips/linux/l0439.html]]
-[[Apache module mod_rewrite>http://www.net-newbie.com/trans/mod_rewrite.html]]
-[[Apache module mod_rewrite>http://japache.infoscience.co.jp/japanese_1_3_6/manual/mod/mod_rewrite.html]]
-[[Apache URL Rewriting Guide>http://japache.infoscience.co.jp/rewriteguide/]]
-[[URL Rewriting Guide - Apache HTTP Server>http://httpd.apache.org/docs-2.0/ja/misc/rewriteguide.html]]
差分 一覧