You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2017/01/25 23:46:16 UTC

[Httpd Wiki] Update of "PHP-FPM" by thumbs

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "PHP-FPM" page has been changed by thumbs:
https://wiki.apache.org/httpd/PHP-FPM?action=diff&rev1=12&rev2=13

Comment:
Added a check for -f with <If to use httpd's 404 error document

  
   `<FilesMatch "\.php$">`
  
-  `    <If "-f %{REQUEST_FILENAME}">`
- 
-  `        # Pick one of the following approaches`
+  `    # Pick one of the following approaches`
  
-  `        # Use the standard TCP socket`
+  `    # Use the standard TCP socket`
  
-  `        #SetHandler "proxy:fcgi://localhost/:9000"`
+  `    #SetHandler "proxy:fcgi://localhost/:9000"`
  
-  `        # If your version of httpd is 2.4.9 or newer (or has the back-ported feature), you can use the unix domain socket`
+  `    # If your version of httpd is 2.4.9 or newer (or has the back-ported feature), you can use the unix domain socket`
  
-  `        #SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/:9000"`
+  `    #SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/:9000"`
- 
-  `    </If>`
  
   `</FilesMatch>`
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org