Major changes to www.frontfree.net
📜 历史文件已不具备现实意义
This post describes Apache 2
mod_rewritereverse-proxy configuration from 2004; all of my sites have since migrated to nginx.
Today I have committed several major changes to the existing Frontfree Website System 2.0. This is a “major” change because it is the first time we have utilized Apache’s rewrite technology for reverse proxying,which, in other words, shows that our reverse-proxying setup has become much more mature than when it was first put in place.
To a person outside the Frontfree website, it is easy to pick up a URL
like http://, which was
previously http://.
This will greatly improve Google and similar bot crawling of the Frontfree website. Finally, this will result in significant progress in PageRank™, and more importantly, make it possible to search Frontfree articles through Google, which was poorly supported in the past.
Thanks go to Che Dong, who helped me make FreeBSDChina.org use this style. I consulted Apache’s manual, and finally it resulted in the following rewrite rules:
|
I like playing with regular expressions, but Apache’s implementation is somewhat too simple and I had to write these rules in a complex way.
Of course this will not help the website achieve better performance under load, but it will help attract more visitors.
在线阅读本文并参与讨论 delphij's Chaos blog.delphij.net/posts/2004/01/major-changes-t/