htaccess need file blocking

settings fixed.
There is only one problem.
public_html/resources/views/web/inc/header.blade.php --> no-cache? is it done?
need file blocking
how to


<IfModule LiteSpeed>
RewriteCond %{ORG_REQ_URI} !/login
RewriteCond %{ORG_REQ_URI} !/register
RewriteEngine On
RewriteRule .* - [E=cache-control:max-age=120]
Hello ms_dizzy_

You could use .htaccess file to block your file:YOUR_FILENAME


method 1:
RewriteEngine On
RewriteRule (^|/)FOLDER/YOUR_FILENAME - [F]

method 2:
Order Allow,Deny
Deny from all
Last edited: