
apache
文章平均质量分 70
friping
苍天岂能随人愿。山作黄金海作田
展开
-
Linux 安装apache php
yum install libxml2yum install php yum install httpd httpd-devel 安装完成后,用/etc/init.d/httpd start 启动apache 或者 service httpd start设为开机启动:chkconfig httpd on 配置 httpd.conf 让apache支持PHP...原创 2013-04-04 14:18:13 · 112 阅读 · 0 评论 -
Apache 整合 jetty
总体思路是把jetty当做web服务器,apache作为http服务器,并以ajp为协议 1, 让apache支持ajp。 要让apache支持ajp, apache要加载mod_jk.so. mac环境下,默认是没有mod_jk.so的,所有要下载编译: 1)到官网下载tar.gz 文件,解压之后进入文件夹,执行: $ cd native$...原创 2013-07-06 11:36:02 · 213 阅读 · 0 评论 -
Apache VirtualHost 配置二级域名
在httpd.conf 中:去掉注释#NameVirtualHost *:80改为 NameVirtualHost *:80添加## add www.test.com<VirtualHost *:80> ServerAdmin test@gmail.com DocumentRoot [应用的绝对路径] ServerName www.t...原创 2013-07-06 15:48:25 · 419 阅读 · 0 评论