Httpd. conf
Apache main configuration file:/etc/httpd/conf/httpd. confDefault site home directory:/var/www/html/The configuration information of the Apache server is stored in the master configuration file/etc/httpd/conf/httpd. in conf, there are a
For the Ubuntu configuration file apache2 httpd. conf location, for the ubuntu configuration file, we should strictly describe Apache of Ubuntu (or should we say Apache under Linux? The configuration file of other apache software packages
Linux version RHEL7.0IP address 172.7.16.111Apache Service package named httpd, check PackageUsing the Yum source installation package,Configure the Yum method to refer to my blog, "Linux Yum Source Configuration method" http://blog.itpub.net/2777162
Tests show that:When mod_evasive successfully blocks an ip address, apache logs still have access records; Official Address of mod_evasive: http://www.zdziarski.com/ProjectsMod_evasive Wget
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
I. Installation
1. Open the terminal and enter "sudo apt-Get install apache2"
2. Verify apache2.0Whether the installation is complete. Open it in the browserHttp: // localhost/or http: // 127.0.0.1.If it works appears! That proves success;
Preface:
Scenario One: Usually when we develop, the general items are only stored in the root directory specified by localhost, when there are several items, only in the root directory under different folders, especially inconvenient.
Scene two: At
"Off-topic"Idle boredom to try to test the performance of their own projects on different operating systems, so decided to try to deploy Apache and Mono on Linux environment. Since there is very little contact with Linux, so from the Internet to
Ubuntu init and system service settings initInit is a program located in/sbin/init. it is in linux, during system startup, after all the device drivers and data structures are initialized, a user-level program started by the kernel and the init
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.