
apache-tomcat
文章平均质量分 66
iteye_15136
这个作者很懒,什么都没留下…
展开
-
一个机器安装多个Tomcat服务
做个备忘,今天突然又忘记了。 在bin/下找到service.bat 修改下面两行(服务名,服务描述名):set SERVICE_NAME=TOMCAT_SERVER_2set PR_DISPLAYNAME=Apache Tomcat(TOMCAT_SERVER_2) 在命令行(CMD)运行该文件, 输入参数 install ,安装成功。...2009-07-01 11:30:04 · 100 阅读 · 0 评论 -
Linux下apache(优雅)停止、重启方式
优雅重启:apachectl -k graceful在windows下http -t 可是检查语法,但是没有找到同样效果的优雅重启命令,哪位知道请回复,谢谢。简介为了停止或者重新启动Apache ,你必须向正在运行的httpd进程发送信号。有两种发送信号的方法。第一种方法是直接使用UNIX的kill命令向运行中的进程发送信号。你也许你会注意到你的系统里运行着很多ht...2008-11-11 12:30:00 · 732 阅读 · 0 评论 -
apache tomcat集群 负载均衡 session同步
一、环境搭建:* 准备机器两台:192.168.0.2、192.168.0.3* 下载apache2.2.9,地址:http://httpd.apache.org/download.cgi,安装在192.168.0.2的D:\Apache* 下载apache-tomcat-5.5.26.zip,地址:http://tomcat.apache.org/download-55.cgi...2008-11-25 18:46:49 · 150 阅读 · 0 评论 -
apache benchmark
转自:http://blog.youkuaiyun.com/hieric1001/archive/2009/12/18/5025709.aspxAPACHE自带的测试工具AB(apache benchmark).在APACHE的bin目录。格式: ./ab [options] [http://]hostname[:port]/path参数:-n requests Number of req...原创 2010-02-03 09:20:20 · 260 阅读 · 0 评论 -
Apache 配置 Rewrite, 顺便记录下编译添加新模块
Apache 1.x 的用户请检查 conf/httpd.conf 中是否存在如下两段代码: 清单 1. Apache 1.x 的加载模块代码 LoadModule rewrite_module libexec/mod_rewrite.so AddModule mod_rewrite.c Apache 2.x 的用户请检查 co...原创 2010-02-21 10:58:34 · 161 阅读 · 0 评论 -
Tomcat启动分析-经典的收藏
1 - Tomcat Server的组成部分1.1 - Server A Server element represents the entire Catalina servlet container. (Singleton)1.2 - Service A Service element represents the combination of one or more...原创 2009-07-22 17:21:49 · 96 阅读 · 0 评论 -
设置apache错误转向(500,404,401,403)
一、很重要:官方文档在这里:http://httpd.apache.org/docs/2.2/mod/core.html#errordocument 二、稍微说下: 1、语法:ErrorDocument error-code document 2、可以设置的地方:server config, virtual host, directory...2009-08-11 14:09:48 · 663 阅读 · 0 评论 -
深入理解Apache的mod_rewrite
没来得及仔细看,大概很经典,内容超长了,粘贴过来就乱了,审核麻烦,贴个连接: 中文地址:http://www.yeeyan.com/articles/view/jcky/59298英文地址:http://net.tutsplus.com/tutorials/other/a-deeper-look-at-mod_rewrite-for-apache/中英文对照:http://...2009-09-25 17:25:54 · 103 阅读 · 0 评论 -
利用Apache二级域名实现方法
首先,你的拥有一个有泛域名解析的顶级域名,例如: domain.com 其次,在 httpd.conf 中打开 mod_rewrite 之后,在 httpd.conf 的最后,添加以下内容: RewriteEngine on RewriteMap lowercase int:tolower RewriteMap vhost txt:/usr/loca...原创 2010-07-02 09:49:50 · 107 阅读 · 0 评论