原创 httpd 過濾對特定文件擴展名資源的訪問
edit conf/httpd.conf, add <FilesMatch "\.(log|ascx)$"> Order deny,allow Deny from all </filesMatch> 點贊 收藏
原创 Configuring SSL for Apache Httpd 2.2.x
1. Alter httpd.conf, uncomment 'Include conf/extra/httpd-ssl.conf' Include conf/extra/httpd-ssl.conf # uncommen
原创 Linux find
find ./ -name *.sh find ./ -iname *.log find ./ -filetype d find ./ -filetype f find ./ -g group find ./ -u user
原创 linux free
[root@localhost ~]# free -m total used free shared buffers cached Mem:
原创 [REF] Java HotSpot VM Options
http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html#DebuggingOptions Java HotSpot VM Op
原创 [轉載]淺談軟件開發定律系列之帕金森定律(Parkinson’s Law)
原文地址 http://eilfei2000.blog.51cto.com/2956473/718353 淺談軟件開發定律系列之帕金森定律(Parkinson’s Law) 2011-11-18 18:12:11 標籤
原创 apache httpd mod_rewrite
安裝: 1.如果爲初次安裝apache,在編譯時增加--enable-rewrite選項。 ./configure --prefix=/usr/local/apachel --enable-so --enable-mods-sh
原创 jboss twiddle命令例子
twiddle.sh -uadmin -p12345678 get jboss.system:type=Server Version
原创 Chrome 佔用 CPU 高的解決方法
Shift + ESC ,查看那個進程佔用CPU高,結束之。 我的是 shockwave flash 插件佔用CPU很高,可能跟開太多窗口有關。
原创 java ee specifications
java ee specifications
原创 JEE - JPS Command
(1) -q :只顯示pid,不顯示class名稱,jar文件名和傳遞給 main 方法的參數 $> jps -q 28680 23789 23651 (2) -m :[實用] 輸出傳遞給 main 方法的參數,在嵌入式jvm上可能
原创 JBoss - AS 5 ServiceBindingManager
https://community.jboss.org/docs/DOC-9038 AS5ServiceBindingManager 版本 21 創建於: 2008-8-2 下午7:25 作者 Brian Stan
原创 JBoss - Services Binding Management
http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/beta422/html/Additional_Services-Services_Binding_Managem
原创 JBoss EAP 使用 Binding Manager
For JBoss 4.3.x: 1. edit JBoss_EAP_4.3.0.GA_CP02_sts\jboss-as\server\default\conf\jboss-service.xml 2. enable mbean: