server {
...
location ~ ^/tester/(.+\.php)$ {
...
fastcgi_pass unix:/opt/configs/php-fpm/sock/php-admin.sock;
...
}
location ~ \.php$ {
...
fastcgi_pass unix:/opt/configs/php-fpm/sock/php-admin.sock;
...
}
...
}
FastCGIserver {
FastCGIid = PHP5
ConnectTo = /var/lib/hiawatha/php-fcgi.sock
Extension = php
}
FastCGIserver {
FastCGIid = PHP5-alternative
ConnectTo = /var/lib/hiawatha/php-fcgi-alternative.sock
Extension = php
}
VirtualHost {
...
UseFastCGI = PHP5
}
UrlToolkit {
ToolkitID = my_toolkit
Match ^/tester/ UseFastCGI PHP5-alternative
}