Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
litespeed_wiki:cpanel:enable_hotlink_protection [2018/09/19 18:07] Jackson Zhang |
litespeed_wiki:cpanel:enable_hotlink_protection [2018/09/19 18:08] Jackson Zhang |
||
---|---|---|---|
Line 2: | Line 2: | ||
A hotlink occurs when someone embeds content from your site in another site and uses your bandwidth to serve the files. | A hotlink occurs when someone embeds content from your site in another site and uses your bandwidth to serve the files. | ||
- | On cPanel, there is a [[https://documentation.cpanel.net/display/74Docs/Hotlink+Protection|hotlink protection feature]] you can enable for apache, **"cPanel >> Home >> Security >> Hotlink Protection"** and enable/disable hotlink protection. but this may not work for LSWS. How to enable hotlink protection on LSWS? You can add the following rewrite rules to .htaccess of related domains: | + | On cPanel, there is a [[https://documentation.cpanel.net/display/74Docs/Hotlink+Protection|hotlink protection feature]] you can enable for apache, **"cPanel >> Home >> Security >> Hotlink Protection"** and enable/disable hotlink protection. but this may not work for LSWS. How to enable hotlink protection on LSWS? You can add the following rewrite rules to .htaccess of related domains( to replace "YOURDOMAIN" with your own domain) : |
RewriteEngine on | RewriteEngine on |