• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
O
O
onlinejunior2020-07-26 23:44:20
htaccess
onlinejunior, 2020-07-26 23:44:20

What is the correct way to block a file?

I write the following:

<Files bar\.env>
    deny from all
</Files>


I am getting 500 error for the whole site.

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

0 answer(s)
Similar questions
M
mr_drinkens892015-04-11 23:57:39
How to make a newsletter from the site? 2Reply
A
ArturFaizullin2017-04-26 22:58:52
How to remove interference from VGA cable? 2Reply
4
4Proof2016-07-31 23:04:29
How can I automatically save configuration remotely/versioning? 1Reply
A
Anton2020-07-30 13:36:40
How to place WP taxonomy terms on subdomains? 1Reply
E
eratnikstudio2018-08-23 12:39:39
How to redirect non-existent pages to error.php page in .htaccess file? 3Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners