I have some files of type .json on the DocumentRoot of apache. I need to hide or not allow these files to be shown to public viewers when they access using the url.
http://somehostname/somefile.json, How do I disable this option of not showing these files.
I have some files of type .json on the DocumentRoot of apache. I need
Share
Copy from the rule for .ht files, you can add below lines to your httpd.conf