XAMPP 403 404 への対処

バージョンごとにやり方が異なります。 下記、試してみてください。

<Directory />
#    AllowOverride none
#    Require all denied
Require all granted
</Directory>
<Directory />
#    AllowOverride none
#    Require all denied
 AllowOverride All
 Require all granted
</Directory>
<Directory />
#    AllowOverride none
#    Require all denied
Allow from 127.0.0.1
</Directory>

サンプル

# localhost
<VirtualHost *:80>
    ServerName localhost
    DocumentRoot "C:\XAMPP\htdocs"
    <Directory "C:\XAMPP\htdocs">
        Options Indexes FollowSymLinks Includes execCGI
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

ちなみに、最新のXAMPP(3.2.1)で現状の設定は以下の通りです。

<Directory />
#    AllowOverride none
#    Require all denied

#    AllowOverride All
#    Require all granted
Allow from 127.0.0.1
</Directory>


...

# AJP13 Proxy
<IfModule mod_proxy.c>
<IfModule mod_proxy_ajp.c>
Include "conf/extra/httpd-ajp.conf"
AddDefaultCharset utf-8
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
</IfModule>

<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:\XAMPP\htdocs"
<Directory "C:\XAMPP\htdocs">
Options Indexes FollowSymLinks Includes execCGI
#    AllowOverride none
#    Require all denied

#    AllowOverride All
#    Require all granted
Allow from 127.0.0.1
</Directory>
</VirtualHost>