unix> ./configure --with-apxs=/usr/local/apache/bin/apxs unix> make && make install
# # mod_caucho Resin Configuration # LoadModule caucho_module /usr/local/apache/modules/mod_caucho.so ResinConfigServer localhost 6802 CauchoConfigCacheDirectory /tmp CauchoStatus yes <Location /caucho-status> SetHandler caucho-status </Location>
<IfModule mod_caucho.c> ResinConfigServer localhost 6802 <Location /caucho-status> SetHandler caucho-status </Location> </IfModule> AddHandler caucho-request jsp <Location /servlet/*> SetHandler caucho-request </Location> <IfModule mod_caucho.c> <LocationMatch (.*?)\.action> SetHandler caucho-request </LocationMatch> <LocationMatch (.*?)\.jsp> SetHandler caucho-request </LocationMatch> <LocationMatch (.*?)\.do> SetHandler caucho-request </LocationMatch> </IfModule>
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。