.htaccess protect run/download files from browser — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberLoader

.htaccess protect run/download files from browser

edited August 29 in General Discussion
Hello
I have site use template file *.tpl
Normally, I use htaccess file in this directory :

<FilesMatch "\.([php][cgi][pl]|[tpl][)\.?">
Order allow,deny
Deny from all
</FilesMatch>

But it doesn't work with Cyberpanel
I check and it can run/download file from brower


Anyone knows how to fix?
Thanks
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!