ApacheBench is one of the most common programs used to benchmark web servers.
By default apachebench will run using HTTP/1.0 requests and without compression enabled even if the tested server supports that.
For example:
ab -n 1 -v 4 "http://www.linuxany.com/"
继续阅读 »
Apache is one complex piece of software, that contains many features most people are normally not using. You can do so many things with apache outside of the default configurations, and I am not going to discuss today about an external module, but about the plain old mod_log_config.
Normally most people will use for apache logging the combined LogFormat, and will not even think there will be other possible additions to that. This normally looks like:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
and it contains most of the information we would like to see in the logs. Still there are many other information we can include here… just see below for the full list.
继续阅读 »
Description: How to disable the HTTP TRACE method on recent apache versions.
Most vulnerability scanners (like the popular nessus, but commercial ones also) will complain (normally as a low thread or warning level) about TRACE method being enabled on the web server tested.
Normally you will have this enabled by default, but if you want to test if it is really enabled on your server you just have to telnet on the port your web server is running and request for “TRACE / HTTP/1.0” if you get a positive reply it means TRACE is enabled on your system. The output of a server with TRACE enabled will look like:
继续阅读 »
你是否还记得曾经的Linux操作系统,那是一个除了大学生和Unix呆子以外,几乎只对黑客、业余无线电操作员和象牙塔里的学生们有价值的利基操作系统。没有人会把一台使用Linux操作系统的电脑安置在数据中心里。时过境迁,曾经被称之为“小操作系统”的Linux在今天已经可以完全接管你的数据中心。没有乐队的演出,没有股票的下跌,也没有华丽的媒体追捧,Linux就这样悄然步入你的数据中心。
没有乐队的演出,没有股票的下跌,也没有华丽的媒体追捧,Linux就这样悄然步入你的数据中心。
继续阅读 »
有没有谁绝对应该使用Linux系统呢?Linux仅仅是开发者或系统管理员把玩的系统么?LinuxInsider近日发起了一场讨论,对哪些人应该使用Linux进行了探讨。下面看看他们的讨论结果:
简单操作电脑的人
“我认为有一类人使用电脑只是为了一些简单的需求,这点很重要,这些年我意识到,很多人买了昂贵的设备和软件许可证,但是他们连计算机一半的计算能力都没用到,更别说那些不必要的软件了”,Kane解释说“这些人大多生活在自己的互联网浏览器世界里。” 所以Kane认为基于Linux的免费、更快、更安全和互联网浏览器可以运行在任何平台的特点,这些人应该使用Linux。
继续阅读 »