PHP: How can I get to work?

Igor Sysoev is at
Tue Jul 24 18:02:11 MSD 2007

On Tue, Jul 24, 2007 at 12:27:37PM +0000, Rob wrote:

> Igor Sysoev <is at ...> writes:
> > This is because "location ~ /(layouts|graphics)/submit/admin" has static
> > handler. You should use the following:
> I tried this and I'm getting "No input file specified." by the FCGI handler.

I missed, you should this:

  location ~ ^/(layouts|graphics)/submit/admin {
    auth_basic "Restricted";
    auth_basic_user_file domains/htpasswd;

    include fastcgi.conf;
    fastcgi_param PATH_INFO $uri;
    fastcgi_param SCRIPT_FILENAME ${document_root}index.php;

Igor Sysoev

More information about the nginx mailing list