公告板
 [2008-05-06] 新RSS訂閱連結: http://feeds.ssorc.tw/ssorc
 [2007-09-12] 新網址 http://ssorc.tw
 [2007-07-06] ChangeLog 記錄舊文章變動

瀏覽模式: 普通 | 列表

ChangeLog

[閱讀全文]

[轉] Varnish - mod_rpaf 取得真正 Client 端 IP

http://blog.wu-boy.com/2010/03/26/2087/

Varnish (安裝架設篇) 來當 Web 前端 Reverse Proxy,也有 load balance 的功能,不過碰到這樣的環境,後端 Apache Server 只會抓到 Reverse Proxy IP 來當作 log 紀錄,而無法正確取得 Client 端 IP,Varnish 官網 FAQ 有提到 log 檔案得的解決方法,不過在程式方面,要大量的修改,假設今天 Apache 跑10個 Virtual Host ,不就要去改10個網站程式,背後或許是一些大型 open source 的 Project,改起來相當不容易,也很費工夫。Darkhero 提供了 reverse proxy add forward module for Apache (mod_rpaf) 模組,只要裝上這模組,Apache 就不必動到其它設定就可以正確紀錄 log 檔案,且程式都不必修改,就可以得到正確 IP 了。

Varnish

http://varnish-cache.org/

Varnish is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6, FreeBSD 6/7 and Solaris 10 to achieve its high performance.

Some of the features include

Varnish is free software and is licenced under a modified BSD licence. Please read the introduction to get started with Varnish.

See what people blog about varnish

[轉貼]awstats 重新計算分析某時段

MySQL備份 - mydumper