2011-02-03 5 views
0

私はApache 2.2とphp5サーバーをubuntu 10.10上で実行しています。私は/yage/page.phpのURLを/page.php?var=anythingに変更しようとしています。 Apacheのmod_rewriteApache 2.2でURLを変更する

答えて

0

、あなたはあなたのApacheのconfファイルまたは.htaccessファイルに次のようなものを設定することができ

RewriteEngine On 
RewriteRule ^/(.*)/page.php$ /page.php?var=$1 

here

詳細を参照します
関連する問題