0
私はApache 2.2とphp5サーバーをubuntu 10.10上で実行しています。私は/yage/page.phpのURLを/page.php?var=anythingに変更しようとしています。 Apacheのmod_rewrite
でApache 2.2でURLを変更する
私はApache 2.2とphp5サーバーをubuntu 10.10上で実行しています。私は/yage/page.phpのURLを/page.php?var=anythingに変更しようとしています。 Apacheのmod_rewrite
でApache 2.2でURLを変更する
、あなたはあなたのApacheのconfファイルまたは.htaccessファイルに次のようなものを設定することができ
RewriteEngine On
RewriteRule ^/(.*)/page.php$ /page.php?var=$1
はhere
詳細を参照します