9 messages in ru.sysoev.nginxRe: PHP: How can I get domain.com/ind...
FromSent OnAttachments
RobJul 20, 2007 7:15 pm 
Remo LaubacherJul 21, 2007 12:46 am 
Igor SysoevJul 21, 2007 1:00 am 
RobJul 21, 2007 8:01 am 
Igor SysoevJul 21, 2007 8:41 am 
RobJul 23, 2007 8:16 pm 
Igor SysoevJul 24, 2007 1:40 am 
RobJul 24, 2007 5:27 am 
Igor SysoevJul 24, 2007 7:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: PHP: How can I get domain.com/index.php/blah/ to work?Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Jul 24, 2007 7:01:48 am
List:ru.sysoev.nginx

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

Igor Sysoev <is@...> 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_pass 127.0.0.1:5000; fastcgi_param PATH_INFO $uri; fastcgi_param SCRIPT_FILENAME ${document_root}index.php; }