Major changes to www.frontfree.net

• 本文约251字,阅读大致需要1分钟 • Development

📜 历史文件已不具备现实意义

This post describes Apache 2 mod_rewrite reverse-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://www.frontfree.net/view/allarticles.html, which was previously http://www.frontfree.net/articles/services/listall.asp.

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.