LunarPages主机的防盗链

January 15, 2009 by admin
Filed under: LunarPages主机知识 

防盗链可以防止,他人在您的站点外,未经您同意直接引用您站点上的文件,如图片等,他们在耗用您的宽带资源。如果你不想别人盗链你网站上的文件,您可以通过Lunarpages主机提供的“防盗链”功能来预防这种情况的发生。

1.登陆Lunarpages主机的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) 允许在浏览器中直接调用

4.点击Activate启用防盗链(点击Disable禁用防盗链)
完成以上步骤,就设置OK了。

Comments

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





Spam Protection by WP-SpamFree