Hello everyone,
I have installed Cyberpanel with OpenLiteSpeed to build my digital product store. I am using Wordpress with Easy Digital Download.
This plugin will create a .htaccess file in "/wp-content/uploads/edd/" to be able to deny direct access to files, but it contains some rules that openlitespeed does not support:
I've been trying all day to deny direct access to files. I've created contexts, I've read the documentation, I've tried to do it with rewrite rules ... but I can't. I do not know what to do. Can anybody help me?
Best regards.
I have installed Cyberpanel with OpenLiteSpeed to build my digital product store. I am using Wordpress with Easy Digital Download.
This plugin will create a .htaccess file in "/wp-content/uploads/edd/" to be able to deny direct access to files, but it contains some rules that openlitespeed does not support:
Options -Indexes
deny from all
<FilesMatch '\.(jpg|jpeg|png|gif|mp3|ogg)$'>
Order Allow,Deny
Allow from all
</FilesMatch>
I've been trying all day to deny direct access to files. I've created contexts, I've read the documentation, I've tried to do it with rewrite rules ... but I can't. I do not know what to do. Can anybody help me?
Best regards.