António P. P. Almeida
July 26, 2012 03:38AM
On 26 Jul 2012 09h23 CEST, nginx-forum@nginx.us wrote:

> Yeap, both:
>
> sudo -u php ls /path/to/php/file.php
>
> and
>
> sudo -u php cat /path/to/php/file.php
>
> Work. However, took a peak at the error log and found this:
>
> 2012/07/25 23:05:12 [error] 1040#0: *1 FastCGI sent in stderr:
> "Access to the script '/srv/www/domains/app.mydomain.com/' has been
> denied (see security.limit_extensions)" while reading response
> header from upstream, client: XXX.XXX.XXX.91, server:
> app.mydomain.com, request: "GET / HTTP/1.1", upstream:
> "fastcgi://127.0.0.1:9000", host: "app.mydomain.com"
>
> Any idea what that means?

Yes. It means that the file that you're trying to access has an
extension that your PHP runtime config forbids. You must enable that
extension by setting the security.limit_extensions parameter.

--- appa






> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,228909,228990#msg-228990
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Convert lighttpd rewrite rule to nginx

Anonymous User July 23, 2012 09:23PM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 24, 2012 01:40AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 24, 2012 02:08AM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 24, 2012 02:44AM

Re: Convert lighttpd rewrite rule to nginx

Igor Sysoev July 24, 2012 02:50AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 25, 2012 08:47PM

Re: Convert lighttpd rewrite rule to nginx

Igor Sysoev July 26, 2012 12:32AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 01:00AM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 26, 2012 01:58AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 02:05AM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 26, 2012 02:12AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 03:04AM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 26, 2012 03:14AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 03:23AM

Re: Convert lighttpd rewrite rule to nginx

António P. P. Almeida July 26, 2012 03:38AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 03:42AM

Re: Convert lighttpd rewrite rule to nginx

Edho Arief July 26, 2012 03:48AM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User July 26, 2012 08:52PM

Re: Convert lighttpd rewrite rule to nginx

Anonymous User August 03, 2012 07:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready