This domain may be for sale!
URL Rewriting for BeginnersIntroduction URL rewriting can be one of the best and quickest ways to improve the usability and search friendliness of your site. It can also be the source of near-unending misery and suffering. Definitely worth playing carefully with it - lots of testing is recommended. With great power comes great responsibility, and all that. There are several other guides on the web
"The great thing about mod_rewrite is it gives you all the configurability and flexibility of Sendmail. The downside to mod_rewrite is that it gives you all the configurability and flexibility of Sendmail." One of the more powerful tricks of the .htaccess hacker is the ability to rewrite URLs. This enables us to do some mighty manipulations on our links; useful stuff like transforming Very Long UR
mod_rewriteというのはApacheのモジュールの一つで、リダイレクト処理などをする時に使います。その便利さから『URLを操作するためのスイス製のアーミーナイフ』とか『黒魔術』とまで言われています。 このmod_rewriteを使うとGETパラメータがいっぱいついた長いURLをリダイレクトして短いURLに変換することなどもできます。 mod_rewiteについて詳しく書こうとすると、かなり長くなってしまいそうなのでこの辺にして、詳しくはhttp://tech.bayashi.net/svr/doc/apache/mod_rewrite.html辺りを参考にしてください。 というわけで今回はこの黒魔術をXAMPP Liteで使ってみたいと思います。 XAMPP Liteの設定変更 XAMPP Liteはデフォルトではmod_rewiteが使えないので、まずmod_re
mod_rewriteとは Apacheのモジュールのひとつで、アクセスURLを正規表現で書き換えることができます。リダイレクト処理を行うのに便利なモジュールです。 モジュールの解説ドキュメントによれば URLを操作するためのスイス製のアーミーナイフ と例えられるほど、非常に複雑な処理を行えます。 URLからURLへ、同一サーバ内URLだろうが、別サーバURLだろうが問いません。 引数を含む動的URLを通常のHTMLファイルのような静的URLに見せることも可能です。 素晴らしく詳細なマニュアルもありますが、機能が多いだけに情報量が多く読むのも面倒だと思いますので、ここでは、mod_rewriteを使用すると便利な場面を想定して具体的に解説してみたいと思います。 mod_rewriteの基本 ひとまず、mod_rewriteはApacheのモジュールです。インストールされていなければ、サーバ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く