I am running a virtual host that I need to be able to see that fpm
status page. Here is my current configuration. I am unable to get
the status screen to work.
NameVirtualHost 10.0.10.101:80
<Virtualhost 10.0.10.101:80>
ServerName testserver
DocumentRoot /app/web/admin
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /cgi-bin/php5.admin
<Location "/cgi-bin/php5.admin">
Order Deny,Allow
Deny from All
Allow from env=REDIRECT_STATUS
Options ExecCGI
SetHandler fastcgi-script
</Location>
</IfModule>
# Fast CGI + FPM
FastCgiExternalServer /app/web/cgi-bin/php5.admin -socket /
tmp/php-fpm.sock
ScriptAlias /cgi-bin/ /app/web/cgi-bin/
<Directory /app/web/admin>
DirectoryIndex index.html
Order deny,allow
Deny from all
Allow from 10.10.
</Directory>
<Location /fpm-status>
SetHandler fastcgi-script
</Location>
</Virtualhost>
Thanks,
-dm