View Full Version : [ubuntu] Allowing access to single php file

April 30th, 2012, 07:11 PM
I currently have my content mapped to a CDN, so I don't want people to have access to the php files within my folders.

I disabled the access to php files via

location ~ /(.+)\.php$ {
deny all;
But how can I enable php access for only one folder?