apache
weihaiw
这个作者很懒,什么都没留下…
展开
-
linux系统apache rewirte模块操作实例及apache追加模块
网站要对企业黄页分配二级域名,下面是操作过程。做一记录目的:假设www.xxx.com为网站地址,企业黄页的访问地址为www.xxx.com/yp/index.php?id=n,要使n.xxx.com直接访问到该企业黄页首页.环境:Red Hat Enterprise Linux Server release 5.3 apache 2.2.16过程:首先确认www.xxx.com已经是泛域名查看apache的配置文件httpd.conf 是否已经加载了rewrite 模块, LoadModule rew原创 2010-09-14 15:19:00 · 618 阅读 · 0 评论 -
Apache 常见配置精解
1:让Apache的索引显示支持中文文件和目录[root@server3 ~]# tail /usr/local/apache2/conf/extra/httpd-vhosts.conf DocumentRoot "/home/share"Options indexes followsymlinksorder deny,allowallow from allServerName 192.168转载 2011-06-22 13:41:00 · 782 阅读 · 0 评论 -
apache负载载均衡三种方式
R-proxy的缺点是,当其中一台web服务器停止运行的时候,apache仍然会转发请求过去,导致502网关错误。 1 )轮询均衡策略的配置 进入Apache的conf目录,打开httpd.conf文件,在文件的末尾加入: ProxyPass / bal转载 2011-08-09 15:14:12 · 734 阅读 · 0 评论