Forum List
Message List
New Topic
ASTRAPI
Protect folder from running php and html
January 21, 2015 03:54PM
Registered: 14 years ago
Posts: 46
Hi
I am using this to disallow php running on a folder:
location ~^(/uploads/).*(\.php)$ {
deny all;
}
but how can i disallow both php and html to run on this folder?
Or is it possible to allow only images to run from this folder and how?
Thanks
Reply
Quote
ASTRAPI
Re: Protect folder from running php and html
January 26, 2015 10:36AM
Registered: 14 years ago
Posts: 46
Anyone please?
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 334
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024