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