First, setAnalog domainwww.wang.org, blog.wang.org, bbs.wang.orgSite Folder/var/html/www,/var/html/blog,/var/html/bbsSecond, the implementation of the steps:1. Create a Web site folderWatermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">2. Write the content to three index . Easy to test3.cd to extra under the conf folder in ApacheWatermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve
) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/C2/wKiom1crSDew5KBcAAALagUZ3bA835.png "title=" 3.PNG " alt= "Wkiom1crsdew5kbcaaalaguz3ba835.png"/>Then modify the configuration file/application/apache/conf/httpd.confAdd the following on the last side of the fileOptions FollowSymLinksAllowOverride NoneOrder Allow,denyAllow from allThen modify the/application/apache/conf/extra/httpd-vhosts.conf configuration fileChange the default content toServerAdmin [email protected]DocumentRoot "/var
Detailed description of the local machine apache configuration based on the domain name of the virtual host. 1. open the httpd. conf file of apache and find the # Virtualhosts # Includeconfextrahttpd-vhosts.conf section to remove the # Before the Includeconfextrahttpd-vhosts.conf. 2. modify (
1. open the httpd. conf file of apache and find# Virtual hosts
# Include conf/extra/httpd-vhosts.conf
This section r
Since the last century, my website has been updated much slowly. I don't know what kind of content do you want my website to provide?As we have mentioned earlier, the IP address of the host is Dec through the network domain name.With the continuous in-depth understanding of IPHostEntry Class, we can get the function of searching host
For centos to configure the virtual host domain name, first comment out DocumentRoot/var/www/html. for example, we configure two virtual hosts with IP192.168.0.3. Edit/etc/httpd/conf/httpd at www.2cto.com first. conf configuration file vi/etc/httpd/conf/httpd. conf and then... for centos to configure the virtual host domain
;Fastcgi_param script_filename $document _root$fastcgi_script_name;Fastcgi_param script_name $fastcgi _script_name;}}Save exit, the other two virtual host definitions are similar to the above and are no longer written.Edit nginx.conf:VI nginx.confInclude vhost/*.conf to open nginx virtual machine function before the first server tag inside the HTTP moduleCreate virtual machine root directory at root: mkdir/web/{bbs,blog,www}To grant Nginx permission t
Configure the virtual host domain name under the Linux environmentThe first step:Under the root directory (that is, the root directory)LS (view file)CD into etc directoryFind Hosts FileVI hosts open the Hosts file and edit itAt the bottom of the open file, add:192.168.8.115 domain.com.cnStep Two:cd/usr/local/apache2/conf/Enter the directory belowLS View all files and directories under the current directoryV
--------------------Updated on 2011-12-13 Day---------------------I'm having a problem with MySQL being disabled today.Access forbidden!
New XAMPP Security Concept:Access to the requested directory was only available from the local network.This setting can is configured in the file "httpd-xampp.conf".
If you think this is a server error, please contact the webmaster.Error 403www.server.comTue Dec 13 11:00:00 2011Apache/2.2.14 (Unix) dav/2 mod_ssl/2.2.14 openssl/0.9.8l php/5.3.1 mod_p
1 use a virtual host to deploy a project as a top-level domain2 3 1. In the Server.xml file4 1. Port modified to5 2. Configuring the host6 Hostname= "Www.customer.com"AppBase= "D:\java1110\workspace\day19_2"7 Unpackwars= "true"Autodeploy= "true">8 9 Ten ValveClassName= "Org.apache.catalina.valves.AccessLogValve"Directory= "Logs" One prefix= "Localhost_access_log."suffix= ". txt" A pattern= "%h%l%u%t quot;%rquot;%s%b" /> -
One, configuring DNS and search DomainsSpecially configured DNS The file is/etc/resolv.conf, and we can ifcfg-eth0 the NIC configuration and other configuration files specified in the.Demo Sample:[Email protected] desktop]# cat/etc/resolv.confSearch example.comNameServer 192.168.0.254[Email protected] desktop]#Second, configure host name[Email protected] desktop]# cat/etc/sysconfig/networkNetworking=yesHostname=instructor.example.comNisdomain=notexamp
1. Open the Apache httpd.conf file to find# Virtual Hosts
#Include conf/extra/httpd-vhosts.conf
This section removes the "#" in front of the include conf/extra/httpd-vhosts.conf.
2. Modify the Hosts file located in the (Win7) c:/windows/system32/drivers/etc/directoryAdd a section: 127.0.0.1 x.acme.com (the domain name you use to access)
3. I use the Wamp package, so to the C:/wamp/bin/apache/apache2.2.11/conf/extra directoryModify File httpd-vhost
First, setAnalog domainwww.wang.org, blog.wang.org, bbs.wang.orgSite Folder/var/html/www,/var/html/blog,/var/html/bbsSecond, the implementation of the steps:1. Create a Web site folder2. Write content to three index for easy testing3.cd to extra under the conf folder in ApacheAdd configuration to three websites4. Add a configuration to the master configuration fileThe gaze of the #Virtual hosts openedStaring open #Server-pool management (MPM)5. Post in drivers under window system32Join local DN
Add a configuration at the end of the main configuration file:[Email protected] ~]# vim/usr/local/apache/conf/httpd.confInclude conf/vhosts.confCreate a new vhosts,conf under the Conf directory, configured as follows:DocumentRoot "/var/www/www.bangbangdj.com"ServerName www.bangbangdj.comOptions Indexes FollowSymLinksDirectoryIndex index.html index.htm index.phpAllowOverride AllRequire all grantedDocumentRoot "/var/www/www.tp3.vs"ServerName Www.tp3.vsOptions Indexes FollowSymLinksDirectoryIndex i
1. Open the Apache httpd.conf file and find# Virtual Hosts
#Include conf/extra/httpd-vhosts.conf
This section removes the "#" in front of the include conf/extra/httpd-vhosts.conf.
2. Modify the Hosts file located in the (Win7) c:/windows/system32/drivers/etc/directoryAdd a paragraph: 127.0.0.1 x.acme.com (the domain name you use to access)
3. I use the Wamp package, so go to the C:/wamp/bin/apache/apache2.2.11/conf/extra directoryModify File htt
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.