Web site service Extensions

Source: Internet
Author: User

One: Client Address Restrictions

The order configuration item allows you to set Allow,deny or Deny,allow to determine the sequencing of the host application policy

Use allow and deny from to restrict client access to the Web Site.

650) this.width=650; "src=" http://s4.sinaimg.cn/mw690/006OWCmEzy7ckLQ3XlF73&690 "name=" image_operate_ 77921499005239669 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

Client Authentication

650) this.width=650; "src=" http://s15.sinaimg.cn/bmiddle/006OWCmEzy7ckLS4IEece&690 "name=" image_operate_ 83481499005239405 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

650) this.width=650; "src=" http://s16.sinaimg.cn/bmiddle/006OWCmEzy7ckLVhxdtef&690 "name=" image_operate_ 63321499005161749 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

Two: User Authorization limit

1. Create a user authentication data file using the HTPASSWD tool

650) this.width=650; "src=" http://s14.sinaimg.cn/mw690/006OWCmEzy7ckM4zOLb5d&690 "name=" image_operate_ 23641499005239048 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

2. 

650) this.width=650; "src=" http://s8.sinaimg.cn/mw690/006OWCmEzy7ckM7ys5h17&690 "name=" image_operate_ 1731499005183421 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; "/

3. Client Authentication User Access authorization

650) this.width=650; "src=" http://s8.sinaimg.cn/mw690/006OWCmEzy7ckMbnJS7c7&690 "name=" image_operate_ 30121499005238550 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

Three: build a virtual host based on different domain names

1. Provide domain name resolution for the virtual host (modified in named Master Configuration and Sub-configuration File)

2. Prepare the Web page document for the virtual host (create two subfolders under the/var/www/html directory benetcom, accpcom and write the home page file Index.html)

3. Add a virtual host configuration

650) this.width=650; "src=" http://s15.sinaimg.cn/mw690/006OWCmEzy7ckMAnDWe3e&690 "name=" image_operate_ 89941499005237228 "alt=" web site service Extension "title=" web site service extension "style=" margin:0px;padding:0px;border:0px;list-style:none; " />

note: you need to enable the virtual host configuration

in the httpd master configuration file

Include conf/extra/httpd-vhosts.conf


This article is from the "[email protected] yan Xiao crazy" blog, Please be sure to keep this source http://cyk5348.blog.51cto.com/13216385/1957457

Web site service Extensions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.