- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
apache全能综合配置(Apache all-around configuration)
apache全能综合配置(Apache all-around configuration)
This article is contributed by lijianwuming
DOC documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view.
Install the apache2 #yum install openssl-devel 1. #./configure - prefix=/usr/local/lamp/apache2 - enable-so - enable-ssl #make #make install 2. #/usr/local/apache2/bin/httpd - L to check whether the run command has the following modules: mod_authn_file.c mod_ssl.c 3.#vim /usr/ local/lamp/apache2/conf/httpd.conf ServerName, as follows:
4. - K stop restart service: #/usr/local/lamp/apache2/bin/httpd #/usr/local/lamp/apache2/bin/httpd - K start 5. - EF | view process: #ps grep httpd lsof -n -i:80 # #lsof - N - i:443 #cd /usr/local/lamp/apache2/conf/extra/ #mv mod_ssl.conf ssl.conf #vim ssl.conf changed its name to comment, modify and save the file as follows:
Conf VIM httpd.conf #] the opening or modifications such as: in the final document down into a line: include conf/extra/ssl.conf, as shown below:
Execute the following command for testing:
Virtual host: open in the main configuration file in httpd.conf: Include conf/extra/httpd-vhosts.conf Include conf/extra/*.conf as the case to join this item in the conf/extra/httpd-vhosts.conf file and then modify the usr/local/lamp/apache2/conf/extra/httpd-vhosts.conf #vim note: must set the web page directory permissions, as the \Directory content, if not set, is unable to access the page.
Modify the above configuration, and then restart the first test: #/usr/local/lamp/apache2/bin/httpd - S #/usr/local/lamp/apache2/bin/httpd - K stop #/usr/local/lamp/apache2/bin/httpd - K start the machine test: #vim: 22 /etc/hosts joined the #curl test is successful to display web pages.
User authentication: user authentication: This module is generally installed by default, but if you need to install the authentication module, using the following method to find and install the default module are ge
您可能关注的文档
- 12春审计学网上作业任务01(12 spring audit online homework task 01).doc
- 1677超核心英语词汇表1abc(1677 super core vocabulary 1abc).doc
- 1677超核心英语词汇表2d-g(1677 super core vocabulary 2d-g).doc
- 16-a. heart disease treat or prevent(16-a.心脏疾病的治疗和预防).doc
- 15春《编译原理》作业2(15 spring compile principle homework 2).doc
- 16-机器翻译现状与展望(16- Machine Translation current status and Prospects).doc
- 16个气血不足食疗(免费)(16 Qi deficiency diet therapy (free)).doc
- 16例肾损伤合并其他脏器损伤的诊治(Diagnosis and treatment of 16 cases of renal trauma complicated with other organ injuries).doc
- 17《落花生》教学设计之三(17 teaching design of peanuts three).doc
- 17种家用去痘面膜的做法(生活之美容塑身)(17 kinds of domestic anti acne mask approach (life beauty body)).doc
- ape与flac的简单比较(A simple comparison between ape and FLAC).doc
- architecture英语词汇h(architecture英语词汇h).doc
- arm+linux全能就业班(Arm+linux all-round employment class).doc
- arcgis中英文对照表(ArcGIS Chinese and English comparison list).doc
- api消息十六进制对照列表(API message sixteen decimal comparison list).doc
- arm-linux-gcc交叉编译环境的建立(Establishment of arm-linux-gcc cross compiling environment).doc
- ascii对照(Ascii对照).doc
- ascii码表(Ascii码表).doc
- android-bound-service-详解四service绑定及生命期(Android绑定服务服务绑定及生命期详解四).doc
- ati catalyst control center(催化剂控制中心).doc
文档评论(0)