Disable access to *.php files
August 28, 2010 02:19PM
I am moving from lighttpd and I miss an important option
static-file.exclude-extensions = ( ".php", ".pl" )
which disable access to excutable files even if the backend server is down.
how can I do that with nginx?

--------------
http://gadelkareem.com/
Re: Disable access to *.php files
January 10, 2011 05:55PM
anybody?



Edited 1 time(s). Last edit at 01/10/2011 05:55PM by gadelkareem.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready