PHP: How can I get domain.com/index.php/blah/ to work?
Igor Sysoev
is at rambler-co.ru
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_pass 127.0.0.1:5000;
fastcgi_param PATH_INFO $uri;
fastcgi_param SCRIPT_FILENAME ${document_root}index.php;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list