EasyPHP での Apache のデフォルト インストールでは、.htaccess ファイルを使用してフォルダー内のサーバー構成を変更するオプションがアクティブ化されていません。
Apache に、.htaccess ファイルで変更できる構成と、どのフォルダーで変更できるかを伝える必要があります。メイン Web サーバーですべての構成変更を有効にするには、http.conf (Apache/conf フォルダー内) を編集して、次を探す必要があります。
<Directory "${path}/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
変更する
AllowOverride None
に
AllowOverride All
微調整するには、AllowOverrideに関するドキュメントを参照してください:
http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
また、http.conf で mod_rewrite が有効になっていることを確認し、以下を探します。
#LoadModule rewrite_module modules/mod_rewrite.so
先頭の「#」を削除します
LoadModule rewrite_module modules/mod_rewrite.so