1. What is Apache?
Apache is a highly configurable software. It has many features, but each one is expensive. To some extent, optimizing Apache involves allocating resources in an appropriate way and simplifying the configuration to include only necessary content.
2. Major versions officially maintained by http:
Httpd 2.0 2.2. 2. 4 major official versions are being maintained
2.2 mainstream
2.0 known for its stability
2.4 added many new features.
3.
# The ExtendedStatusOnbrApache server can report its own running status through special HTTP requests. enabling this brExtendedStatus parameter allows the server to report more comprehensive running status information. The configuration of the brApache server on the br master server requires various settings to define that you use various parameters to provide Web services. For Apache
# ExtendedStatus On
The Apache server can report its running status through a special HTTP request.
The Extend
-threaded Web server for multiplexing I/O: one process responds to n requests; starts m processes; Number of requests processed simultaneously: N*M4. Main program:/USR/SBIN/HTTPD MPM Mode Default/usr/sbin/httpd.event/usr/sbin/httpd.workerHTTPD feature Mpm:multipath processing module (multi-path processing)Prefork: A multi-process model in which each process responds to a request, has good stability, but has limited concurrency, generates multiple idle
httpd is The main program of the Apache Hypertext Transfer Protocol (HTTP) server. is designed as a stand-alone background process that establishes a pool of child processes or threads that process requests. Yum Install httpd-y #安装httpdYum Install policycoreutils-python-y #安装semanageecho "Laotang" >/var/www/html/index.html #网站的默认路径是/var/www/html, we first set up Ere pageSystemctl Restart
In the process of using CentOS software, it may be necessary to use the. src software source package, some of which require some functionality, some of which require a version, and the following httpd as an example:Download source httpd and compile[Email protected] ~]# TAR-XF httpd-2.4.6.tar.bz2[[Email protected] ~]# CD httpd
All systems use centos7.1Each node is configured with the Hosts file.Cat/etc/hosts172.16.92.2 node2.centos7.com Node2172.16.92.3 node3.centos7.com Node3172.16.92.4 node4.centos7.com Node4Node2, Node3, Tomcat (JSP Web server)Node4 to httpd (proxy_ajp_module) reverse proxy to Tomcat================ Node2 172.16.92.2/16 ===================Installing the JDK (CD source)mount/dev/cdrom/mnt/cdrom/Yum-y Install JAVA-1.7.0-OPENJDKInstalling binary Tomcatwget
Article title: Comments and configuration instructions on httpd. conf files of ApacheServer. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
We made a simple comment on the httpdconf file. here we just put forward the comments to facilitate browsing.
If you want to view against the original article, we have prep
Article Title: How to authenticate HTTPD users in LINUX ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
[Mentioned in anonymous's masterpiece :]
: In linux httpd server, how does one configure user authentication in the CONF file?
: In-service ACCESS. It seems t
Common commands in the httpd. conf file of Apache explain ServerTypestandalone # set whether the server is started independently (standalone) or by the interconnected network servo program inetd. The former is generally used. ServerRootusrlocalapache # set the Home directory of the server to store the server's setting files, error files, and record files Apache
Explanation of common commands in the httpd. c
Configure the NTP server and Heartbeat V1 for httpd High Availability
Establishment and use of NTP servers
In high-availability clusters, the time requirements for each node are strict. Therefore, we need to configure an NTP server to implement the time synchronization of highly available clusters. Point other node time to this ntp and create an NTP server first.
[Root @ localhost ~ ] # Rpm-q ntpNtp-4.2.6p5-1.el6.CentOS.x86_64
Since our server already
1XX: Pure Information
2XX: Correct information
3XX: REDIRECT information: Resource location move
4XX: Client Error
403: Server denied access
404: Resource does not exist
5XX: Service-side error
Message format
Request message
Request Header: Example (get/index.html http/2.4)
Request Header: Format (keyword: head), example (HOST:www.boxin.com)
Blank line: Carriage return or line break, notifying
Apache startup error: httpd: cocould not reliably determine the server's fully qualified domain name[Root @ server httpd-2.2.4] #/usr/local/apache/bin/apachectl startHttpd: cocould not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName1) Go to the apache installation directory: (depending on your installation situation) [root @ server ~] # Cd/usr/local/apache/conf2)
Apache Httpd Server 2.2 Upgrade 2.4 (2Votes, average:5.00Out of 5) 2,302 viewsMarch 20, 2012 Web server, Server Apache, httpd, server, upgrade jsxubar When Apache httpd server 2.2 upgraded 2.4 , there were changes in configuration files and installations because 2.4 had some changes relative to 2.2. This article presents a list of areas to be aware of in 2.2 up
In the site configuration, the general different directories correspond to different websites, when we want to set a different site directory for the same site, we need to use the alias function in httpd.Create an alias directory and file[[email protected] bieming]# mkdir/bieming[[email protected] bieming]# cd/bieming[[email protected] bieming]# Pwd/biemi Ng[[email protected] bieming]# echo "This is a Alias page" >/bieming/in.html[[email protected] bieming]# tree. '--In.h TmlSecond, modify the/e
For APACHE configuration file httpd. conf [switch] (2 ). # The ExtendedStatusOnbrApache server can report its running status through special HTTP requests. enabling this brExtendedStatus parameter allows the server to report more comprehensive run # ExtendedStatus On
The Apache server can report its running status through a special HTTP request.
The ExtendedStatus parameter allows the server to report more comprehensive running status information.
How can I configure the php web server? httpd. conf: I got an open-source php Project. I used the iis + php server to configure the project. I didn't set the permissions. I had to make a mess, but it was okay, however, the dialog box anerroroccurred, theserverreturneda quot; 404 objectnotfound quot; will pop up during login. then I posted a comment on how to configure the php web server, httpd. conf
I hav
2. Unzip# tar zxf httpd-2.2.4.tar.gz# CD httpd-2.2.43. Install Apache dependency Pack Apr and Apr-util, they are all in the Srclib directory3.1 Installing Apr# CD SRCLIB/APR#./configure--PREFIX=/USR/LOCAL/APR# make# make Install3.2 Installing Apr-util# CD: /apr-util#./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR# make# make Install4. Installing Pcre #cd pcre-8.10 #./configure--prefix=/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.