Possible solutions of your questions

  hosting
<< Previous       Deny access to certain files or the whole folder on the server

Question: Hello. How do I deny access to *.* files in a specific folder on the server. Trying to make it through .*. But if you create even an empty .* everything is broken and php scripts from the root directory cannot access the \"secret\" directory? Error ***.
Answer:

Hello

create .htaccess in the folder with  rule

<Files *.txt>
Deny from all
</Files>

 

 

 

Question: Created just. The ban appears, but the site breaks. The frontend works but backend fray completely. In this folder are additional php scripts that are called by *request. Maybe this is the problem?
Answer:

what were you made to the file?

Question: If you`re talking about .*, that`s just what you wrote. If about the text file is one file libcurl cook. I would like to protect them.
Question: *********
Answer:

kakyu folder you put this file?

how are the website files that you are trying to prevent?

Question: Slashes removed. )) Well, you understand.
Answer:

it is necessary to specify all.

<Files *.txt>
Deny from all
</Files>

Question: .* put it in the folder where the files are \"in need of protection\" (not the root folder). In this same folder there are many php scripts. These scripts are used either from scripts-templates root folder of your site, either through *-requests to a php script in the same folder in which the desired *.* file.
Question: And *.* the files are php scripts that are called via * client side.
Question: The problem is that even empty .* all the breaks.
Answer:

an empty file is not allowed to break anything

unless of course you`re not made supremenyc characters, such as characters BOM

Question: You are right. It was not in the reel. ))) I decided on a quick pad are standard. Without * all right. Thank you.
Answer:


ok


<< Previous