Mar 07 2008

昨天竟然没有写blog

Category: 乱up当秘笈ssmax @ 09:42:34

昨天火箭16连胜了,很好很强大。。。。。。

昨天竟然忘记写blog了,很傻很天真啊。。。

最近老有患得患失的感觉,好像很害怕失去重要的东西,好像双鱼座的都很容易有这种感觉。。。

今天火箭打小牛,连胜下去还是到此为止,拭目以待。


Mar 05 2008

预祝火箭16连胜

Category: 乱up当秘笈ssmax @ 23:03:54

没什么东东写,希望每天火箭对步行者能16连胜,破球队记录。

今天上网的时候看到穆大叔的专题,转一点,呵呵

姓名 穆托姆博
出生日期 1966年6月25日
出生地 扎伊尔(现刚果)
身高 218cm
体重 120.5kg
位置 中锋

    俗话说,家有一老、如有一宝。穆大叔有太多的东西值得火箭全队去学习,他拖着41岁的身体在场上跟一群小他一轮的球员在赛跑,用他老迈的身躯冲抢地板球,他做了该做的所有脏活。他用行动告诉火箭的队员,要赢得胜利,就要去拼搏,他已经成为火箭的精神领袖。通过奉献来完美自己的人生,他的所作所为让所有人感动……

穆托姆博有两个家喻户晓的外号,一个是非洲大山,因为他像大山一样难以逾越。另一个为穆大叔,一把年纪还在一线作战,球迷称他为大叔。然而,不少球迷并不知道他有一个长达46个字母的名字:迪坎比·穆托姆博·姆博洛多·穆卡姆巴·简恩·杰奎·瓦姆托姆博( Dikembe Mutombo Mpolondo Mukamba Jean Jacque Wamutombo)。你一定会怀疑,有没有人会称呼他的全名,15年以来有没有队友记住了他的全名。

41岁高龄还在征战NBA,穆托姆博成了联盟历史上的最老的五个人之一……而且可能还不止41岁呢,大叔的年龄只有天知道,连他自己也不知道,非洲人家门口有课树,人每涨一岁就划一条痕迹,大叔家的树后来被砍倒了,所以真是年龄他自己也不知道,只知道大约40多岁。。。


Mar 04 2008

Apache ErrorDocument 跳转到 jsp后没有 REDIRECT_URL header

Category: 技术ssmax @ 17:10:23

嗅嗅今天发了个问题,apache REDIRECT_URL not set

  <LocationMatch “/web/.*\.html”>
        Options FollowSymLinks Includes
        AllowOverride None
        ErrorDocument 404 /detail.jsp
  </LocationMatch>

 在jsp里面拿不到  REDIRECT_URL 头

 一开始我还不知道有这个东西,上去apache查文档。。。

Purpose
Additional functionality. Allows webmasters to configure the response of Apache to some error or problem.Customizable responses can be defined to be activated in the event of a server detected error or problem.

e.g. if a script crashes and produces a “500 Server Error” response, then this response can be replaced with either some friendlier text or by a redirection to another URL (local or external).

Old behavior
NCSA httpd 1.3 would return some boring old error/problem message which would often be meaningless to the user, and would provide no means of logging the symptoms which caused it.
New behavior
The server can be asked to;

  1. Display some other text, instead of the NCSA hard coded messages, or
  2. redirect to a local URL, or
  3. redirect to an external URL.

Redirecting to another URL can be useful, but only if some information can be passed which can then be used to explain and/or log the error/problem more clearly.

To achieve this, Apache will define new CGI-like environment variables, e.g.

REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap, image/jpeg
REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05 9000/712)
REDIRECT_PATH=.:/bin:/usr/local/bin:/etc
REDIRECT_QUERY_STRING=
REDIRECT_REMOTE_ADDR=121.345.78.123
REDIRECT_REMOTE_HOST=ooh.ahhh.com
REDIRECT_SERVER_NAME=crash.bang.edu
REDIRECT_SERVER_PORT=80
REDIRECT_SERVER_SOFTWARE=Apache/0.8.15
REDIRECT_URL=/cgi-bin/buggy.pl

note the REDIRECT_ prefix.

At least REDIRECT_URL and REDIRECT_QUERY_STRING will be passed to the new URL (assuming it’s a cgi-script or a cgi-include). The other variables will exist only if they existed prior to the error/problem. None of these will be set if your ErrorDocument is an external redirect (i.e., anything starting with a scheme name like http:, even if it refers to the same host as the server).

 原来还有这样的东东,对apache的稳定性有信心,那应该就是resin的问题了,mod_caucho经常有各种奇怪的行为,上去resin网站一查。。发现:

3.0.18 – Feb 23, 2006

  • ConnectionPool needs to be a lifo to avoid accumulating too many pool items (rep b Kaminsky Leonid)
  • max-create-connections wasn’t included in DBPool (rep by Kaminsky Leonid)
  • (2006-02-15) mod_caucho was not properly handling check-interval larger than 32-bits (#926, rep by Mutsubu Inayama)
  • Changes in ./configure and Makefile for MacOSX EGREP libtool issue (#432, rep by jdane)
  • (2006-02-09) class-loader can now appear anywhere, not just first element (#924, rep by dlcr)
  • Amber inheritance needs to work with CMR (#301, rep by Francois Bertrand)
  • JMX Notifications on restart (#195, #237, rep by Erik Hartenian, Glenn Rush)
  • fmt:param wasn’t printing children for validation (#893, rep by Ed Hollingsworth)
  • Apache2 mod_caucho needs to grab REDIRECT_URL and REDIRECT_QUERY_STRING (#87, rep by A Jacklin)
  • change escaping of command line argument for WIN32 service installation (#141, rep by Steve Arbour)
  • 哈哈,就这样解决了,升级吧。。。。


    Mar 03 2008

    火箭的15连胜

    Category: 乱up当秘笈ssmax @ 23:21:17

    继续横扫掘金,迎来了奥拉朱旺时代之后的第一个15连胜,还有一个主场,有机会创造队内历史了,火箭加油,也祝姚明手术成功,哈哈,伪球迷上班时间都要看看球滴。。。


    Mar 02 2008

    肥仔烧排骨

    Category: 乱up当秘笈ssmax @ 22:11:57

    火炉山脚下,自己有车的话去就方便,一家大小的话爬完山去吃吃挺好,但是专程去吃就没啥必要了,招牌菜烧排骨味道还行,不过油脂太多,不宜多吃,其他菜就非常一般了,条鲈鱼竟然连一斤都无,还带腥,瀑布汗。。。


    Mar 01 2008

    静静的走

    Category: Lovessmax @ 22:18:06

    从美院到中大,从中大码头到广州大桥,从下渡路到珠影,再沿着新港西路走到怡乐村,地图上算了一下,至少有10公里了,就这样静静地走,不需要什么言语,时光从紧握的手中流走,剩下温柔在心底蔓延,皮鞋夹着脚,痛并快乐着,嗯嗯,没事没事。


    Feb 29 2008

    事情真不少

    Category: 乱up当秘笈ssmax @ 23:05:43

    晚上刚回到家,郭老板一个电话飞过来说明天再出来聚聚(其实丫的是想拿我的发票。。。),我又一个个约人,打电话订场,刚搞完就去洗澡。。。

    洗完了小春子就给电话我说明天装机,推荐个配置。。。(他前两天跑民政局注册了,娶新娘,住新房,买新电脑。。。幸福哦)。。。匆忙打开pconline,随便搞了一套给他,刚挂嗅嗅的电话就进来了,又是装机,汗啊汗。。。3k两台,吓死我,现在电脑和猪肉差不多价钱了??问清楚原来是一台3k,装两台。。。网页还没关,改了下又行了。。。最后发现,现在的电脑真不比猪肉贵多少。。。日。。。

    明天本来约好了mm的,现在临时失约,不知道mm会不会生气呢,唉。。。


    Feb 28 2008

    有朋自远方来,不亦乐乎

    Category: 乱up当秘笈ssmax @ 22:41:48

    郭老板大老远从上海跑过来,热情款待,吃了1k多,还好还好,发财了,终于请了一次了,嘿嘿,下次就我来,大家记得的话,哈哈。


    Feb 27 2008

    福与祸

    Category: 乱up当秘笈ssmax @ 13:27:27

    《老子》第五十八章:

    其政闷闷,其民淳淳;其政察察,其民缺缺。祸兮,福之所倚;福兮,祸之所伏。孰知其极:其无正也。正复为奇,善复为妖。人之迷,其日固久。是以圣人方而不割,廉而不刿,直而不肆,光而不耀。

    祸兮,福之所倚;福兮,祸之所伏。在大家多盼望火箭13连胜的时候,在火箭几年来终于露出一点点冠军相的时候,姚明倒下了,而且是缺席后面全部比赛。。。昨晚看到这个消息很多人就当场萎了,今天大胜奇才变得索然无味,希望大姚快点康复吧,或者这个是火箭放出来的烟雾弹。。。唉。。。


    Feb 26 2008

    订位

    Category: 乱up当秘笈ssmax @ 22:33:13

    现在去吃饭,都要订位才行,要不肯定没位。。。像上周六,早去都没房,订炳胜提早两日订一间房都无剩下,估计都是内部留起d人每日都去的了,真tmd有钱。。。咁就订新泰乐啦,大排档的口味,大排档的服务,五星级的收费,汗啊汗。。。冰镇鳝片,啫啫鳝片,全部再吃一次。


    « Previous PageNext Page »