Archive for the ‘Web Servers’ category

Nginx: UserAgent based transfer rate limit

January 28th, 2010

In this post we’ll show an example on how to implement transfer rate limitation in Nginx. As this limitation is User agent based, itwould be especially meaningful for a download site, or a mirror site like mirror.centos.org.
» Read more: Nginx: UserAgent based transfer rate limit

Install Lighttpd PHP and XCache from Source on Linux

September 11th, 2009

This is a short description on how to install a robust LAMP web service environment. Here we will not choose Apache, but Lighttpd instead.

Firstly, let’s make two directories, one for source code compiling, and the other one is the installation path. » Read more: Install Lighttpd PHP and XCache from Source on Linux

Compiling eAccelerator from source code

September 8th, 2009

This is a quick guide for installing eAccelerator in a PHP environment. eAccelerator is well-known PHP memory management plug-in, it’s used to optimize execution of PHP codes. » Read more: Compiling eAccelerator from source code

Details about TCP_MISS/000 in Squid access.log

September 8th, 2009

I noticed some TCP_MISS/000 entries in Squid access_log this afternoon, as what I saw 3 years ago.
As we know that TCP_MISS means the URL has no stored objects in cache, and TCP_MISS/000 is the bit usually means aborted, indicating there’s no reply to the request before the client aborted the connection. » Read more: Details about TCP_MISS/000 in Squid access.log

Roundup on Browser Parallel Connections

September 8th, 2009

How to Implement P3P HTTP Headers for cross-site cookies

September 8th, 2009

Why I need to make sure to implement P3P if using iframes or using cross-site cookies?
The point is that if your application is inside iframe with parent belongs to another domain – cookies will not work for some very common configurations, for example IE 6/7 with privacy set to medium. If cookies don’t work – session won’t work. Therefore session turns out useless for your application under Internet Explorer. checck “Privacy in IE 6” for more details. » Read more: How to Implement P3P HTTP Headers for cross-site cookies