Native Squid logs support (%codesquid %timesquid %otherblanks)
Seamless support of monthly and daily views
Easy navigation between monthly and daily weekly views
Filtering of Drupal users (using DRUPAL_UID, see Apache recipe, Nginx can log this cookie as $cookie_DRUPAL_UID).
AWstats is a great tool for parsing and analysis of web logs with nice web interface, but after years it still lacks Squid support, so I decided to fork. The name "SAWstats" stands for "Severely Advanced Web Statistics".Read more
All this time I used to use Apache with prefork method (apache2-mpm-prefork) combined with PHP5 module (libapache2-mod-php5). Until the day my web server choking out of resources because lots of users accessing. Apache with PHP module consumes a lot of memory because each request is handled by one process.
Recently I had to setup several Apache web servers with an in-RAM cache for frequently accessed content with the help of Apache's mem_cache module. All the servers where front-end servers to application servers that sits behind.
Although in some cases the content expiration time was set as low as 30 seconds, it worked great because it reduced request concurrency for the most costly requests, providing an important performance improvement and reducing heavily the requests to the application servers. The problem comes when you want to log cache hits and misses in order to analyze cache efficiency.Read more
Let's describe a situation. Drupal is installed in the webserver root, and you want to guard a subdirectory on the server, which is completely separate from Drupal, by Pubcookie authentication. The problem is that Pubcookie internally uses another URL on your server named /Pubcookie.reply, and this URL gets intercepted by Drupal redirector. You can get various sorts of errors like "No granting reply". Pubcookie.reply is a magic URL that Apache knows how to reply to, but Drupal was rewriting it to index.php?q=Pubcookie.reply or alike. As a solution, add the following rewrite rule: