0

これは私のテストファイルhtaccess.zipです

テストのプロセスは次のとおりです。

ステップ1:xamppをインストールする

ステップ 2: htaccess.zip から抽出した htaccess ファイルをD:\xampp\htdocsに移動します。

ステップ 3: localhost/htaccess/test/を Firefox のアドレス バーに入力します。

ステップ 4: localhost/htaccess/test/index.phpを表示する代わりに、localhost/htaccess/index.phpを表示する結果を待つ

Linuxで動作します。Windowsでも機能するように修正するにはどうすればよいですか?

.htaccess コード:

RewriteEngine On 
RewriteBase /htaccess/

RewriteRule ^test/?$ index\.php
4

0 に答える 0