会员名称:  密码:   验证码:     会员注册  忘记密码? 
设为首页
加入收藏
返回首页
媒体资讯>> 业界资讯 - 会展动态 - 竞赛&活动 - IT互联网  媒体学院>> 图形图像 - 网页制作 - 网络编程 - 数据库 - 服务器 - 网络应用  作品赏析>> 视频音响 - CG动画 - UI设计 - 平面设计 - 网页设计 - 摄影映象 - 三维2D - 其它设计  媒体工作室>> 视频影像 - 音频声响 - 三维2D - 平面视觉 - 软硬技术 - 摄影映象  人物访谈>> 人物访谈 - 华夏新锐  媒体杂志>> 媒体杂志  素材图库>> 丽景佳图 - 设计素材 - 资料图库 - 矢量图库 - 动态动画 - 特色图标  酷站赏析>> 韩国网站 - 国外网站 - 国内网站  会员中心>> 会员注册 - 会员登陆
当前位置:华夏媒体 - > 媒体学院 - > 服务器 - > 系统综合 - > 服务器apache+mysql+php+ssl完全安装
   
   
   
服务器apache+mysql+php+ssl完全安装 服务器apache+...  [系统...]
More... 
   
网络协议X档案全集(十) 网络协议X档案...  [其它...]
不可忽视的BIOS参数设置 不可忽视的BIO...  [其它...]
微软IE浏览器非常规修改全攻略(上) 微软IE浏览器非...  [其它...]
微软IE浏览器非常规修改全攻略(下) 微软IE浏览器非...  [其它...]
网管十招 网管十招  [其它...]
微软安全问题 源自OS和IE中集成RSS 微软安全问题 ...  [其它...]
修改注册表使电脑更安全 修改注册表使电...  [其它...]
利用注册表管理IP地址 利用注册表管理...  [其它...]
有关IIS HACK的一些方法整理 有关IIS HACK的...  [其它...]
More 
服务器apache+mysql+php+ssl完全安装
编辑:华夏媒体     作者:未知     来源:网络     时间:2006-07-29     总浏览量:2163
文字大小:[      ]     文字颜色:      双击滚屏/单击停止

[上一页] [1] [2] [3] [4] [5] [6] [7] [8] [下一页] 



TransferLog logs/domain2.com-access_log 

RefererLog logs/domain2.com-referer_log 

AgentLog logs/domain2.com-agent_log 

# No CGI’s for this host 

# End: virtual host section 

使用上述例子在你的服务器上创建你自己的虚拟主机。如果你想从Apache网站上阅读每一条指令,它的网址是:http://www.apache.org。 

SSL虚拟主机 

创建SSL虚拟主机类似非SSL。除了你需要指定另外的指令,还有,你需要增加一个DNS记录并且修改 httpd.conf。这里有一个例子。 

#--------------------------------------------# 

# SSL Virtual Host Context 

#--------------------------------------------# 

# General setup for the virtual host 

DocumentRoot /usr/local/apache/htdocs 

ServerAdmin webmaster@securedomain1.com 

ServerName www.securedomain1.com 

ErrorLoglogs/domain1.com-error_log 

TransferLog logs/domain1.com-transfer_log 

# SSL Engine Switch: 

# Enable/Disable SSL for this virtual host. 

SSLEngine on 

# Server Certificate: 

# Point SSLCertificateFile at a PEM encoded certificate. If 

# the certificate is encrypted, then you will be prompted for a 

# pass phrase. Note that a kill -HUP will prompt again. A test 

# certificate can be generated with `make certificate’ under 

# built time. Keep in mind that if you’ve both a RSA and a DSA 

# certificate you can configure both in parallel (to also allow 

# the use of DSA ciphers, etc.) 

# Note that I keep my certificate files located in a central 

# location. You could change this if you are an ISP, or ASP. 

SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt 


# Server Private Key: 

# If the key is not combined with the certificate, use this 

# directive to point at the key file. Keep in mind that if 

# you’ve both a RSA and a DSA private key you can configure 

# both in parallel (to also allow the use of DSA ciphers, etc.) 


[上一页] [1] [2] [3] [4] [5] [6] [7] [8] [下一页] 

打印   收藏   关闭   至顶部  


关于我们 | 联系我们 | 合作伙伴 | 站点地图 | 免责声明 | 版权声明 | 意见建议
版权所有  Copyright © 2005-2006 华夏媒体(Media86.Com). All Rights Reserved .
网站备案号:粤ICP备06055307号