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

.htaccess protect run/download files from browser

edited August 29 in General Discussion
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

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

Anyone knows how to fix?
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!