九
19
RouterOS控制限线程脚本!!!
Filed Under routeros专题 | Leave a Comment
:for aaa from 1 to 254 do={/ip firewall filter add chain=forward src-address=(192.168.0. . $aaa) protocol=tcp connection-limit=50,32 action=drop} 其中的1 to 254 是192.168.0.1-192.168.0.254全网段,请删除代理服务器IP地址和局域网主...
九
19
RouterOS添加模块
Filed Under routeros专题 | Leave a Comment
我用web管理界面登录后--》upgrade功能,可以添加(upload file)从iso安装文件解压出来的单个模块(.npk,如web-proxy-2.9.6.npk),上传成功后,upgrade、自动重启就可以了。 注意:.npk后缀名一定...
九
19
RouterOS流量控制限速批量脚本!!!
Filed Under routeros专题 | Leave a Comment
:for aaa from 1 to 254 do={/queue simple add name=(queue . $aaa) dst-address=(192.168.0. . $aaa) limit-at=0/0 max-limit=2000000/2000000} 其中的1 to 254 是192.168.0.1-192.168.0.254全网段,请删除代理服务器IP地址和局域网主机IP地...
九
19
JS实现跳转代码:多域名指向同一空间
Filed Under 网页设计 | Leave a Comment
try {if( self.location == “http://域名一/” ) { top.location.href = “http://域名一/目录”; } else if( self.location == “http://域名二/” ) { top.location.href = “http://域名二/目录”; } else if( self.location == “http://...
九
19
让广告代码不再影响你的网页加载速度
Filed Under 网页设计 | Leave a Comment
做一些联盟广告时,由于联盟广告的加载慢,整体页面的显示速度也会变慢,如果加入下面的代码就可以有效地解决这个问题。 第一步:把这段代码放在你要放广告的网页位置: &l...
九
14
多个绑定多域名的PHP代码
Filed Under 网页设计 | Leave a Comment
这是一段很有用的代码,和绑定多域名的ASP代码类似,如果你只有一个PHP空间,而你又想放置多个多个站点,下面这些代码可以帮到你。 第一个: if($HTTP_HOST=="www.moon-soft.com"...
九
14
多个绑定多域名的ASP代码
Filed Under 网页设计 | Leave a Comment
如果只有一个ASP空间,而你又想放置多个多个站点,这些代码可以帮到你。 第一个 <%if Request.ServerVariables("SERVER_NAME")="www.williamlong.info" thenresponse.redirect "williamlong/inde...
