big bug ban

兴趣 创新 践行

Archive for the ‘apache’ tag

服务器被入侵记.

 

今天查看我的一个站点biewang.net,长期没有维护。想试试还能用不

右键看源码无意间发现被挂上了东西。

20120205143652

在页面脚部有大量的垃圾链接。虽然因为页面css的原因屏蔽掉了没有展示出来,但是seo依然会被严重打击下来。

找找原因。

首先想是不是代码有漏洞被利用了。[......]

继续阅读

Written by princehaku

二月 5th, 2012 at 2:57 下午

120 views

Posted in linux

Tagged with

with 2 comments

apache日志分离组件cronolog

 

1.1   概述

apache默认的日志都会记录到一个文件内

如果访问量过多,时间过长,将导致日志堆积,文件变大,影响apache的性能

cronolog是一个用于日志切分的软件,使用管道把输入定位到其他路径保存

1.2   安装

wget http://cronolo[......]

继续阅读

Written by princehaku

十一月 15th, 2011 at 7:36 下午

257 views

Posted in webbuild

Tagged with ,

without comments

小工具-htaccess转换成其他类型

 

.htaccess是apache的默认的重写规则和站点配置文件

这个小工具可以吧它转换成lighttpd的重写规则

运行时把.htaccess文件放入即可

不保证100%有效..

 

安装文件:
HtaccessToOther (246)

源代码:
[do[......]

继续阅读

Written by princehaku

六月 5th, 2011 at 11:00 下午

601 views

Posted in c/c++

Tagged with

with 2 comments