cPanel防盗链

1.登陆cPanel
2. 点击HotLink Protection 进入防盗链设置
3. 第一行显示防盗链是否启用 Hotlink protection is currently enabled   enabled是启用 disabled是禁用
Urls to Allow Access: 输入允许调用文件的域名,二级域名也需要输入
Extensions to allow (seperate by commas):设置后缀
Url to Redirect to: 设置转向URL
Allow direct requests (ie. entering the url to an image in your browser)  允许在浏览器中直接调用
点击Activate启用防盗链  点击Disable禁用防盗链

你可能感兴趣的:(防盗链,cpanel)