-
Apache/resin log输出格式
Mar192008Apache 一般有两种日志格式:通用日志格式(Common Log Format) 和 组合日志格式(Combined Log Format) http.conf中默认格式如下:LogFormat “%h %l %u %t \”%r\” %>s %b” commonLogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-age ...
阅读全文Apache/resin log输出格式已关闭评论
-
You don’t have permission to access / on this server error 之解决
Mar182008配置好的 apache 虚拟主机,已经跑着一个web应用,现在绑定了另外一个域名: 环境: apache2 + php5 vi http.conf NameVirtualHost *:8080 <VirtualHost www.abc.net:8080>ServerName www.abc.netServerAdmin test@abc.netDocumentRoot /usr/local/apache/htdocs/2hei.net</VirtualHost> <VirtualHost ...
阅读全文You don’t have permission to access / on this server error 之解决已关闭评论
-
pdf and postscript
Feb262008when you want to covert postscript’s file to pdf fileyou can use ghostscript and gsview . ghostscript’s install.next is gs copy the system’s font to itself . I fond this in cidfmap …%!% cidfmap generated automatically by mkcidfm.ps from fonts found in% ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:11,610 views
-
Java Support on Pocket PC
Feb202008Name & Version NSIcom CrEme 3.2.2 SavaJe OS 2.0 Sun Personal Java Blackdown J2RE (ARM port) Esemertec Jeode IBM WebSphere Studio Supported OS CE.net, PocketPC/2002 – WinCE 2.11 Familiar Linux WinCE 2.11, PocketPC,Linux WinCE 2.11, PocketPC JVM C ...
阅读全文作者:2hei | 分类:java, OpenSource | 阅读:6,617 viewsJava Support on Pocket PC已关闭评论
-
Webalizer Install and configuration
Feb172008Webalizer is a web access log analyzer toolsapache tomcat resin’s logs are OK!Next is my Install & configuration on Webalizer. 1、related things apache http://www.apache.org/gd http://www.boutell.com/gd/ make sure you have these package jpeg&nb ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:8,389 viewsWebalizer Install and configuration已关闭评论
-
一个启用共享的bat文件
Feb112008下面是一个从ghost的xp-sp2的系统里面发现的,把启动网络共享的dos命令写成了简单易用的bat文件, 虽然真正起作用的只是几句话,但是看着这个bat文件还是倍感亲切,拿出来与大家共享。 (其中有个reg文件 名字为:开通局域网共享(访问本机要填用户名和密码).reg) This file can be saved as a bat file named “net ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:4,647 views | 标签:bat一个启用共享的bat文件已关闭评论
-
some Java decompilers — 一些java反编译工具
Feb012008一些 Java decompilers 反编译工具 Jad (commercial, no fee for noncommercial use, no source code) JADO (Free, GPL, not actively maintained) DJ Java Decompiler (“freeware”, no source code) HomeBrew Decompiler (Free, GPL) JODE decompiler and optimizer (Free, GPL) JReversePro (Free, GPL) ...
阅读全文
-
windows2003 域服务器的配置过程
Jan292008参考微软网站的文章。详细请见:http://www.microsoft.com/china/technet/prodtechnol/windowsserver2003/technologies/directory/activedirectory/stepbystep/domcntrl.mspx 域服务器端Active Directory: 准备好 Windows Server 2003 CD 选择“只与 Windows 2000 或 Windows Server 2003 操作系统兼容的权限” ...
阅读全文windows2003 域服务器的配置过程已关闭评论
-
ssh无法登录的问题
Jan252008今天遇到朋友问我这样一个问题,托管的服务器ssh不好用了,无法登录。 症状是: ssh 端口可以telnet 通,但是就是无法远程登录上去,用同网段的另外一台服务器可以登录上去, 比较奇怪,于是让我帮忙看看。 我中转登上去看了一下,经历了如下步骤: iptables没有问题,iptables -vnL 看一了下规则,也没有问题,保险起 ...
阅读全文ssh无法登录的问题已关闭评论
-
China 省份,城市三级联动数据库
Jan242008
-
regedit 的用法及java下如何操作注册表
Jan222008DOS下操作windows注册表: —- REG ADD[\\Machine\]Keyname[/v ValueName|/ve][/t Type][/s Separator][/d Data][/f] —- Machine用来指定远程计算机名称,如果操作的是本地计算机则此参数省略。如果要远程操作名为Server的计算机,其Machine参数表示为”\\Server“。 —- Keyname用来指定 ...
阅读全文regedit 的用法及java下如何操作注册表已关闭评论
-
forbit your IE’s right key!
Jan212008it’s easy,ust add this in your <body> <body leftmargin=0 topmargin=0 oncontextmenu=’return false’ ondragstart=’return false’ onselectstart =’return false’ onselect=’document.selection.empty()’ oncopy=’document.selection.empty() ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:3,102 viewsforbit your IE’s right key!已关闭评论
-
一个比较好用的java开源ftp插件–edtFTPj
Jan2020081. Introduction edtFTPj/Free is the most popular Java FTP client library available today. Robust, fast and with an extensive API, it provides a solid foundation for developers who require FTP functionality in their Java applications. Full source code is included. This document provides a ...
阅读全文
-
resin3使用的一些体会
Jan202008因为要做泛解析,单独使用resin2,配置过程中好像有点问题,resin.conf的配置没有关于host的正则表达式。 resin3在解析静态和jsp文件方面已经做的不错了,但是resin3和apache2的配合始终做的不好,我试过了多个apache2的版本,都无法跟resin3配合起来一起使用,倒是resin2的版本可以做到。 因此我一直使用resin3.1.3单 ...
阅读全文作者:2hei | 分类:OpenSource, resin | 阅读:4,115 viewsresin3使用的一些体会已关闭评论
-
mime-mapping 的集合
Jan172008网页识别文件的类型一般由 mime-mapping 来指定,
下面是一些mime-mapping类型的说明:
<mime-mapping extension=”.html” mime-type=”text/html”/>
<mime-mapping extension=”.ai” mime-type=”application/postscript”/>
<mime-mapping extension=”.aif” mime-type=”audio/x-aiff”/>
<mime-mapping extension=”.aiff” mime-type=”audio/x-aiff”/>
<mime-mapping extension=”.aifc” mime-type=”audio/x-aiff”/>
<mime-mapping extension=”.au” mime-type=”audio/basic”/>
<mime-mapping extension=”.asc” mime-type=”text/plain”/>
<mime-mapping extension=”.asf” mime-type=”video/x-ms-asf”/>
<mime-mapping extension=”.asx” mime-type=”video/x-ms-asf”/>
<mime-mapping extension=”.atom” mime-type=”application/atom+xml”/>
<mime-mapping extension=”.avi” mime-type=”video/x-msvideo”/>… more …
阅读全文作者:2hei | 分类:OpenSource | 阅读:4,344 viewsmime-mapping 的集合已关闭评论
-
rhel5下vsftpd 没有目录权限的解决方式
Jan012008RHEL5默认安装的vsftpd,使用系统关联的用户帐户登录,提示没有目录权限。 cannot change directory:/home/***ftp服务器连接失败,错误提示:500 OOPS: cannot change directory:/home/*******500 OOPS: child died 开始以为是防火墙的问题,把iptables关掉后还是报这样的错误。 搜索了一下,发现是selinux的问题。 以下 ...
阅读全文rhel5下vsftpd 没有目录权限的解决方式已关闭评论
-
关于qmail courierpassd 106端口的启动
Dec282007qmail已经安装好,收发邮件均已经正常,Squirrelmail上安装了changpassword的插件,但是没有起作用。 Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:106 in /usr/local/apache/htdocs/2hei.net/mail/plugins/change_pass/options.php on line 140ERROR:Connection refused (111) 应该是 ...
阅读全文关于qmail courierpassd 106端口的启动已关闭评论
-
bash: vim: command not found 的解决办法
Dec192007今天在DELL2950上又新装了rhel5+oracle10g 在 su oracle时 vi .bashrc 。 配置环境变量时发现vi不好用了 提示如下: bash: vim: command not found 起初以为是$PATH的问题,但是我的$PATH包含了vi所在的目录 /bin/ echo $PATH 看看 /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin: ...
阅读全文bash: vim: command not found 的解决办法已关闭评论
-
apache2使用dosevasive防dos攻击
Nov272007Dosevasive 可以用在apache1.3.* apache2以上,能够有效的预防dos攻击, 下载地址:http://mirror.trouble-free.net/dosevasive/ Dosevasive 的配置安装鱼配置非常简单。 下面是我的配置(httpd.conf): #add Apache DOS modules#<IfModule mod_dosevasive20.c># DOSHashTableSize   ...
阅读全文apache2使用dosevasive防dos攻击已关闭评论
-
apache mod_deflate 模块使用总结
Nov272007mod_deflate 模块提供了DEFLATE输出过滤器,允许服务器在将输出内容发送到客户端以前进行压缩,以节约带宽。具体用法请见apache2文档 在apache2 安装时要先把mod_deflate 模块配置好,关于如何安装apache的一些模块可以参考我的这篇文章: apache2 install with useful modules 下面详细介绍一下这个模块的具体用 ...
阅读全文作者:2hei | 分类:OpenSource | 阅读:5,667 viewsapache mod_deflate 模块使用总结已关闭评论