0
私はUbuntu server
を使用しています。私が書いた.htaccess
ファイルでphpファイルでmod_rewriteが動作しません
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
:私は次のようにapache2
VirtualHost
を構成し
RewriteEngine on
RewriteRule ^about$ about.php
RewriteRule ^test$ test.html
しかし、結果としてそれがために働く:
domain.com/test
と
domain.com/about
のために動作しません。
RewriteRule
は、私が見逃した理由、または.php
ファイルでは機能しません。