私はランプを使用していて、新しいphpファイルを私のWebサイトフォルダーに追加しようとすると、入力エラーが発生しません。調査しようとしましたが、このhtaccessファイルを修正しませんでした
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
私はすでにこれをインストールしましたsudo a2enmod rewrite
ありがとうミキ