XAMPP: Phpmyadmin doesn't work with FastCGI
<p>I have a local installation of XAMPP. 
For certain reasons (Java-Php-Bridge) I have to use FastCGI. So I set it up using this guide: <a href="http://www3.umoncton.ca/dashboard/docs/use-php-fcgi.html" rel="nofollow">http://www3.umoncton.ca/dashboard/docs/use-php-fcgi.html</a></p>

<p>This worked fine but now I cannot access <a href="http://localhost/phpmyadmin/" rel="nofollow">http://localhost/phpmyadmin/</a> 
The error is:</p>

<blockquote>
  <p>Access forbidden!</p>
  
  <p>New XAMPP security concept:</p>
  
  <p>Access to the requested directory is only available from the local
  network.</p>
  
  <p>This setting can be configured in the file "httpd-xampp.conf".</p>
</blockquote>

<p>Here is my "httpd-xampp.conf" file:</p>

<pre><code>#
# XAMPP settings
#

&lt;IfModule env_module&gt;
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
&lt;/IfModule&gt;

#
# PHP-Module setup
#
LoadFile "C:/xampp/php/php5ts.dll"
LoadFile "C:/xampp/php/libpq.dll"

#LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"
LoadModule fcgid_module modules/mod_fcgid.so


#&lt;FilesMatch "\.php$"&gt;
#    SetHandler application/x-httpd-php
#&lt;/FilesMatch&gt;
#&lt;FilesMatch "\.phps$"&gt;
#    SetHandler application/x-httpd-php-source
#&lt;/FilesMatch&gt;
FcgidInitialEnv PHPRC "c:/xampp/php"
AddHandler fcgid-script .php
FcgidWrapper "c:/xampp/php/php-cgi.exe" .php


#
# PHP-CGI setup
#
#&lt;FilesMatch "\.php$"&gt;
#    SetHandler application/x-httpd-php-cgi
#&lt;/FilesMatch&gt;
#&lt;IfModule actions_module&gt;
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#&lt;/IfModule&gt;


&lt;IfModule php5_module&gt;
    PHPINIDir "C:/xampp/php"
&lt;/IfModule&gt;

&lt;IfModule mime_module&gt;
    AddType text/html .php .phps
&lt;/IfModule&gt;

ScriptAlias /php-cgi/ "C:/xampp/php/"
&lt;Directory "C:/xampp/php"&gt;
    AllowOverride None
    Options None
    Require all denied
    &lt;Files "php-cgi.exe"&gt;
          Require all granted
    &lt;/Files&gt;
&lt;/Directory&gt;

&lt;Directory "C:/xampp/cgi-bin"&gt;
    &lt;FilesMatch "\.php$"&gt;
        SetHandler cgi-script
    &lt;/FilesMatch&gt;
    &lt;FilesMatch "\.phps$"&gt;
        SetHandler None
    &lt;/FilesMatch&gt;
&lt;/Directory&gt;

&lt;Directory "C:/xampp/htdocs/xampp"&gt;
    &lt;IfModule php5_module&gt;
        &lt;Files "status.php"&gt;
            php_admin_flag safe_mode off
        &lt;/Files&gt;
    &lt;/IfModule&gt;
    AllowOverride AuthConfig
&lt;/Directory&gt;

&lt;IfModule alias_module&gt;
    Alias /licenses "C:/xampp/licenses/"
    &lt;Directory "C:/xampp/licenses"&gt;
        Options +Indexes
        &lt;IfModule autoindex_color_module&gt;
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        &lt;/IfModule&gt;
        Require all granted
   &lt;/Directory&gt;

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    &lt;Directory "C:/xampp/phpMyAdmin"&gt;
        AllowOverride AuthConfig
        Require all granted
    &lt;/Directory&gt;

    Alias /webalizer "C:/xampp/webalizer/"
    &lt;Directory "C:/xampp/webalizer"&gt;
        &lt;IfModule php5_module&gt;
            &lt;Files "webalizer.php"&gt;
                php_admin_flag safe_mode off
            &lt;/Files&gt;
        &lt;/IfModule&gt;
        AllowOverride AuthConfig
        Require all granted
    &lt;/Directory&gt;
&lt;/IfModule&gt;

#
# New XAMPP security concept
#
&lt;LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"&gt;
        #Require local
    Require all granted
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
&lt;/LocationMatch&gt;
</code></pre>

<p>Does anyone have an idea?</p>