davidm
php-fpm 5.3.5 with apache /status question
January 27, 2011 04:26PM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready