Under Windows, Apache's configuration file is usually only one, which is httpd.conf. But when I installed Apache2 with the Apt-get install apache2 command on Ubuntu Linux, I found that its httpd.conf (located in the/etc/apache2 directory) was empty.
Deploy the Django-developed project to the APACHE2 server. Log my configuration process.The Apache,django,mod_wsgi,python version is as follows. Different versions are similar.II apache2 2.2.22-1ubuntu1.6
Recently seems to have a lot of Ubuntu brothers in Gaim asked about Apache2 virtual host settings, today is just a bit of time, so I tried to write this HowTo, for your reference.
= = Test Environment = =
* Operating system: Ubuntu 5.10
* Test
In Windows, there is usually only one configuration file for Apache, that is, httpd. conf. However, after I installed apache2 with the apt-Get install apache2 command in Ubuntu Linux, I found that its httpd. conf (in the/etc/apache2 directory) is
In Windows, there is usually only one configuration file for Apache, that is, httpd. conf. However, after I installed apache2 with the apt-Get install apache2 command in Ubuntu Linux, I found that its httpd. conf (in the/etc/apache2 directory) is
Ubuntu apache2 Configuration
1. apache2.conf is the main configuration file and the httpd. conf user configuration file.2. The virtual directory is in httpd. conf.DocumentRoot "path"ServerName allow from all Options + Indexes 3. Root settings
Apache originally referred to the http server program and later became the Organization Name of the program. Therefore, the original program name was set to httpd, which was later called apache2 after version 2.0. Currently, it is also called httpd
Transferred from: http://blog.csdn.net/hursing/article/details/18730813Apache originally refers to the HTTP server program, and later became the name of the program's organization, so the original program name is HTTPD, after the 2.0 version is
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.