On 12 Jan 2012 16h21 WET, nginx-forum@nginx.us wrote:
> Hello,
>
> Any idea why ? Any solution ?
Yes. Duplicate the FCGI setup in the /myapp/index.php location.
location ^~ /myapp/index.php {
auth_basic "Private Section";
auth_basic_user_file $document_root/.htpasswd;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass 127.0.0.1:9000;
}
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx