Hi,
following problem : one of our servers is working with nginx .
in one folder there is a .htaccess which was usually designed to work with an apache webserver to prevent public access to subfolders and files . But in nginx the .htaccess isnt work correctly so that i can read a configfile in my browser if i know the correct path to it.
can anyone tell me how i can explizit prevent access to a file or a folder in the nginx conf or with the .htaccess file ?
The .htaccess file which isnt working :
Order deny,allow
Deny from all
I'd tried allready to chmod the configfile which i wanna try to hide from public access to 640 with the result that the whole php application did stopped working immidately.
best regards
tkbeat