
apache
文章平均质量分 74
cncrystal
天天学习,好好向上
展开
-
apache+php安装全攻略
apache2+php5安装全攻略1、Apache2 的安装: 版本:httpd-2.0.59.tar.gz # gzip -d httpd-2.0.59.tar.gz# tar -xvf httpd-2.0.59.tar # cd httpd-2.0.59 # ./configure --prefix=/usr/local/apache2 --enable-share原创 2008-07-08 14:38:00 · 1063 阅读 · 1 评论 -
几个apache+php安装时的问题解决
error log 中 (128)Network is unreachable 的解决 当安装 Apache 2.0.47 于 Solaris 9 上时,默认起用了 IPV6 。所以 error_log 中会出现这样的错误:[Sun Jul 20 23:37:01 2003] [warn] (128)Network is unreachable: connect to listener原创 2008-07-10 15:19:00 · 824 阅读 · 0 评论 -
apache2.4配置虚拟主机
好几年没碰apache了,突然发现高版本的apache不会配置虚拟主机了。原来配置文件放到了conf/extra/下面,使得httpd.conf更加简洁了。conf/extra/httpd-vhosts.conf1、打开httpd.conf: 将#Include conf/extra/httpd-vhosts.conf 前的“#”去掉 让apache加载虚拟机配置文件2原创 2012-12-11 10:28:53 · 13427 阅读 · 0 评论 -
IE中iframe跨域Session丢失问题
IE6/IE7支持的P3P(Platform for Privacy Preferences Project (P3P) specification)协议默认阻止第三方无隐私安全声明的cookie,Firefox目前还不支持P3P安全特性,firefox中自然也不存在此问题了。在frameset里面,也就是里面的frame是来自第三方站点(不同IP或不同域名),那么默认情况下IE会自动禁用转载 2012-12-11 10:06:03 · 689 阅读 · 0 评论 -
2013apache+php编译参数
apache:./configure--prefix=/usr/local/apache2 --enable-module=most --enable-shared=maxphp:'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-sockets' '--enable-ftp' '--with-l原创 2013-01-30 13:21:14 · 448 阅读 · 0 评论 -
HTML中的include
配置SSI:环境:Apache2.2 (httpd.conf文件)配置 html、shtml来include网页文件1、 去掉AddType text/html .shtml ,AddOutputFilter INCLUDES .shtml前面注释 # Filters allow you to process content before it is sent to转载 2013-05-28 15:29:42 · 8071 阅读 · 0 评论 -
配置apache虚拟主机
基于不同情况下配置apache虚拟主机的方法,一共八种情况。首先查看你虚拟主机属于哪一种情况,然后对号入座就好了。过程不复杂,关键在于对症下药。步骤/方法1基于ip地址的虚拟主机Listen 80DocumentRoot /home/httpd/html1ServerName www.ok1.comErrorLog /usr/local/ap转载 2013-06-19 08:58:43 · 633 阅读 · 0 评论