change apache rewrite to nginx
全面从apache转向nginx了,可是对于某些程序.htaccess内的rewrite兼职深恶痛绝,没办法,找了个网站自动转,节约我的脑细胞了 http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
全面从apache转向nginx了,可是对于某些程序.htaccess内的rewrite兼职深恶痛绝,没办法,找了个网站自动转,节约我的脑细胞了 http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
http://www.howtoforge.com/installing-nginx-with-php5-and-mysql-support-on-debian-lenny 记住,千万不要用php5.3,否则就麻烦咯
测试环境: ramhost的vps,192M内存,跑wordpress,用apache的ab测试一个page 先看不启用cache的 Server Software: nginx/0.7.64 Server Hostname: www.xhuang.net Server Port: 80 Document Path: /about/ Document Length: 18015 bytes Concurrency Level: 20 Time taken for tests: 207.347340 seconds Complete requests: 1000 Failed requests: 982 (Connect: 0, Length: 982, Exceptions: 0) Write errors: 0 Total transferred: 18304372 bytes HTML transferred: 18048116 bytes Requests per second: 4.82 [...]
Patagonia Theme designed by Wp Themes Planet and proudly powered by WordPress