mr.ken84
Verified User
- Joined
- Apr 21, 2022
- Messages
- 18
Hello,
i am using DirectAdmin with OpenLiteSpeed on my Linux server.
I want to completely block all .zip files from being downloaded via a web browser, for all websites and all users on the server.
For example: if someone tries to access https://domain.com/file.zip, they should get a 403 Forbidden or similar error instead of downloading the file.
What is the best way to configure this in OpenLiteSpeed so that it applies globally across all Virtual Hosts in DirectAdmin?
Should I use context or rewrite rules, and where should they be placed so that they are not overwritten by DirectAdmin?
Thank you!
i am using DirectAdmin with OpenLiteSpeed on my Linux server.
I want to completely block all .zip files from being downloaded via a web browser, for all websites and all users on the server.
For example: if someone tries to access https://domain.com/file.zip, they should get a 403 Forbidden or similar error instead of downloading the file.
What is the best way to configure this in OpenLiteSpeed so that it applies globally across all Virtual Hosts in DirectAdmin?
Should I use context or rewrite rules, and where should they be placed so that they are not overwritten by DirectAdmin?
Thank you!