Apache

共 4 篇文章。

Apache中同一IP多个HTTPS虚拟主机的实现

Security

在 Apache 文档中提到,不能在单个 IP 上同时有多个按名字识别的虚拟主机(“named virtual host”)。不完全是这样。

HTTPS协议的过程是:服务器首先与客户机之间进行服务器身份验证并协商安全会话,然后,客户端向服务器发送 HTTP 请求。这样一来,在客户端开始发送请求之前,服务器就已经把证书发给了客户端(客户端根据本地的根证书去验证证书链,等等)。而最重要的是,为了表明身份,这个证书的周知名称(“Common Name”)填写的应该是域名,否则浏览器会给出警告。

阅读全文… ( 本文约 800 字,阅读大致需要 2 分钟 )

trac+apache+ldap验证

Security

trac确实是个好东西。为了方便(主要是为了少维护一个daemon考虑),我采用的方式是cgi方式(除此之外还有两种常见的用法,一种是使用trac自己的daemon,另一种是通过FastCGI)。

阅读全文… ( 本文约 652 字,阅读大致需要 2 分钟 )

Major changes to www.frontfree.net

Development

Today I have committed several major changes to existing Frontfree Website System 2.0. This is a “major” change because it is the first time we have utilized Apache’s rewrite technology on reverse proxying, which, in other words, is an important change that the reverse proxying technology is going much more mature than it was first taken place.

阅读全文… ( 本文约 214 字,阅读大致需要 2 分钟 )