乌秋博客
梦想在左,生活在右。   

nginx 错误502 upstream sent too big header while reading response header from upstream
添加这两行可以解决:
fastcgi_buffer_size 128k;
fastcgi_buffers 32 32k;

location ~ \.php$ {
fastcgi_buffer_size 128k;
fastcgi_buffers 32 32k;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
include fastcgi_params;
}
posted at 12/03/07 15:18 | 开发手记 - 工作日志 | 浏览(89) | 引用 | 评论

iPhone 4S英文界面下中文联系人排序的终极解决办法
首先要打开wifi,用SecureCRT连上iPhone

通讯录排序:
# cd /System/Library/Frameworks/AddressBook.framework
# cp English.lproj/ABContactSections.plist English.lproj/ABContactSections.plist.bak
# cp zh_CN.lproj/ABContactSections.plist English.lproj/ABContactSections.plist -f

iPod歌曲排序:
# cd /System/Library/PrivateFrameworks/MusicLibrary.framework
# cp English.lproj/MLSections.plist English.lproj/MLSections.plist.bak
# cp zh_CN.lproj/MLSections.plist English.lproj/MLSections.plist -f
# cp English.lproj/SortingDetails.plist English.lproj/SortingDetails.plist.bak
# cp zh_CN.lproj/SortingDetails.plist English.lproj/SortingDetails.plist -f

参考:http://bbs.weiphone.com/read-htm-tid-537602.html
posted at 12/03/07 15:12 | 开发手记 - 工作日志 | 浏览(496) | 引用 | 评论



      << prev    1    next >>