![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
apache
期待一片自己的蓝天
在加利福尼亚州门洛帕克的Facebook园区入口可以看到一个标牌,正面是经典的竖起大拇指点赞的图案,然而在这个标牌的背面,掩映在树荫里的依然是园区昔日所有者2009年被甲骨文公司Oracle吞并的Sun电子计算机公司Sun Microsystems Inc.的名字。Facebook之所以在牌子上留下Sun电子计算机公司的名字就是为了警醒自己,如果企业停止创新的步伐,就会沦落至如此下场。
展开
-
编译apache时提示“APR not found”的解决方法
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation解决办法:1.下载所需软件包:wget http://archive.apache.org/d原创 2015-02-03 16:53:35 · 2134 阅读 · 0 评论 -
配置apache以支持cgi进程的运行
配置apache运行cgi程序可分为两种情况,一是ScriptAlias目录的CGI,二是ScriptAlias以外目录的CGI。ScriptAlias目录的CGIScriptAlias指令使Apache允许执行一个特定目录中的CGI程序。当客户端请求此特定目录中的资源时,Apache假定其中文件都是CGI程序并试图运行。ScriptAlias指令形如:Scri原创 2015-03-06 11:18:11 · 1861 阅读 · 0 评论 -
安装配置Apache支持https和fcgi
Apache安装及配置1.1 下载软件1、Apr :(wget http://mirrors.hust.edu.cn/apache//apr/apr-1.5.1.tar.gz)2、Apr-util :(wget http://mirrors.hust.edu.cn/apache//apr/apr-util-1.5.4.tar.gz)3、Pcre :(wget ftp://ftp.c原创 2015-02-10 19:47:37 · 3506 阅读 · 0 评论 -
linux环境下安装apache服务器
首先注明下面的操作都是在root下执行或者使用sudo命令。1)去http://httpd.apache.org/download 下载apache源码2)解压到/usr/src,在下载目录执行tar -zxvf httpd-x.x.x.tar.gz -C /usr/src (我用的是httpd-2.4.3.tar.gz)3)进入目录/usr/src/httpd-2.4.3,执行:.原创 2015-02-05 17:46:45 · 1562 阅读 · 0 评论 -
apache 在 加载openssl 模块时出现 “/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value”错误解决方案
正式环境:系统:Red Hat Enterprise Linux Server release 5.6 (Tikanga)内核:2.6.18-238.31.1.el5位数:64测试环境:系统:CentOS release 5.8 (Final)内核:2.6.18-53.el5位数: 32相关软件版本及下载地址1.apr: http://labs.mop.co原创 2015-02-06 16:25:34 · 10899 阅读 · 0 评论 -
apache配置文件之虚拟主机配置
虚拟主机的配置 (1)基于IP地址的虚拟主机配置 Listen 80 DocumentRoot /www/example1 ServerName www.example1.com DocumentRoot /www/example2 ServerName www.example2.org (2) 基于IP和多端口的虚拟主机配置 Lis原创 2015-02-05 14:44:24 · 875 阅读 · 0 评论 -
apache几种工作模式对比
apache2主要的优势就是对多处理器的支持更好,在编译时同过使用--with-mpm选项来决定apache2的工作模式。如果知道当前的apache2使用什么工作机制,可以通过httpd -l命令列出apache的所有模块,就可以知道其工作方式:prefork:如果httpd -l列出prefork.c,则需要对下面的段进行配置: StartServers 5 #启动a原创 2015-02-04 22:16:14 · 1346 阅读 · 0 评论 -
解析apache的httpd.conf配置内容
ServerRoot /usr/local ServerRoot用于指定守护进程httpd的运行目录,httpd在启动之后将自动将进程的当前目录改变为这个目录,因此如果设置文件中指定的文件或目录是相对路径,那么真实路径就位于这个ServerR oot定义的路径之下。 ScoreBoardFile /var/run/ht ServerRoot “/usr/lo原创 2015-02-04 11:06:05 · 1460 阅读 · 0 评论 -
配置apache对 https 的支持
一、 安装准备1. 安装Openssl要使Apache支持SSL,需要首先安装Openssl支持。这里使用的是openssl-0.9.8k.tar.gz下载Openssl:http://www.openssl.org/source/tar -zxf openssl-0.9.8k.tar.gz //解压安装包cd openssl-0.9.8k //进入已经解压的安装包./co原创 2015-02-03 17:45:03 · 1430 阅读 · 0 评论 -
启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name
[root@server httpd-2.2.4]# /usr/local/apache/bin/apachectl start httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName 1)进入apache的安装目录:(视原创 2015-02-03 17:03:22 · 4363 阅读 · 0 评论 -
用 apache + spawn-fcgi + fast-cgi 构建服务器
这个用spawn-fcgi 来管理FastCGI 以达到优化Apache 下PHP性能的方法比较另类,大家权当一种参考。方法:系统平台是CentOS 5,前提是LAMP已配置好,运行正常。1. wget -c http://www.21andy.com/centos/5/i386/spawn-fcgi-1.6.3-1.el5.i386.rpm(也可以去官方下载源码包编译安装:htt原创 2015-03-11 21:12:26 · 1579 阅读 · 0 评论