title: Apache 2.4.6: client denied by server configuration (PHP FPM)
body: <p>I found a similar question but it did not helped.</p>
  
  <p>When I open a PHP file via <code>https://site/test.php</code>, the following error comes:</p>
  
  <pre><code>[Tue Oct 29 11:15:53.480855 2013] [authz_core:error] [pid 5424] [client xxx.xxx.xxx.xxx:xxxxx] AH01630: client denied by server configuration: /vhost_site_ssl
  </code></pre>
  
  <p>Virtualhost:</p>
  
  <pre><code>&lt;VirtualHost *:443&gt;
    ServerName site:443
    ServerAlias www.site:443
    DocumentRoot /opt/web/site
  
    SSLEngine on
    SSLCertificateFile /etc/apache2/ssl/privkey.pem
  
    ErrorLog "/opt/log/apache/site_ssl-error.log"
    CustomLog "/opt/log/apache/site_ssl-access.log" combined
    CustomLog "/opt/log/apache/site_ssl-bandwidth.log" common
  
    &lt;Directory /opt/web/site&gt;
      AllowOverride All
      Options +Indexes +FollowSymLinks +MultiViews
      Order allow,deny
      Allow from all
      Require all granted
    &lt;/Directory&gt;
  
    &lt;Directory /vhost_site_ssl&gt;
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
      Options +Indexes +FollowSymLinks +MultiViews
    &lt;/Directory&gt;
  
    &lt;Directory /php5-fpm-handler&gt;
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
      Options +Indexes +FollowSymLinks +MultiViews
    &lt;/Directory&gt;
  
    &lt;IfModule mod_fastcgi.c&gt;
      &lt;FilesMatch \.php$&gt;
        SetHandler php-script
      &lt;/FilesMatch&gt;
      Action php-script /php5-fpm-handler
      Alias /php5-fpm-handler /vhost_site_ssl
      FastCGIExternalServer /vhost_site_ssl -socket /var/run/sock_site_ssl.sock
    &lt;/IfModule&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I suppose this error is caused by upgrading apache 2.2 to 2.4. I also read this: <a href="http://httpd.apache.org/docs/2.4/upgrading.html" rel="nofollow">http://httpd.apache.org/docs/2.4/upgrading.html</a> but did not helped.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I forgot to attach te exact error page:</p>
  
  <pre><code>Forbidden
  
  You don't have permission to access /php5-fpm-handler/phpinfo.php on this server.
  Apache/2.4.6 (Ubuntu) Server at site Port 80
  </code></pre>