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.
Master server settings
The Apache server requires various settings to define its own use of various parameters to provide Web services. When a VM is used, in addition to the settings covered in the definition items of the VM (some settings must be redefined), the settings here are also the default settings of the VM.
Port 80
Port defines the Port used by the httpd daemon in Standalone mode. The standard Port is 80. This option is only valid for servers started in an independent mode. for servers started in inetd mode, define the port used in inetd. conf.
Root permission is required to use port 80 in Unix. for security reasons, some administrators believe that the httpd server cannot have security vulnerabilities. Therefore, they prefer to use the permissions of common users to start the server, in this way, port 80 and other ports smaller than 1024 cannot be used, but Port greater than 1024 must be used to start httpd. generally, port 8000 or 8080 is also a common port. The Apache httpd server can be run as a common user after port 80 is opened with the root permission. this reduces the risk and thus does not need to be considered. However, if you want to install and configure your own WWW server, you have to use a port greater than 1024.
User nobody
Group nogroup
User and Group configurations are the security guarantee of Apache. After Apache opens the port, it sets itself as the User and Group permissions set for these two options to run, this reduces the risk of servers. This option is only used in Standalone mode. the inetd mode specifies the user that runs Apache in inetd. conf. Because the server must perform the setuid () operation to change the identity, the initial process should have root permissions. if a non-root user is used to start Aapche, this configuration will not work.
The default value is nobody and nogroup. this user and group do not have files in the system, which ensures that the server itself and the CGI process started by it do not have the permission to change the file system. In some cases, for example, to run CGI and Unix interaction, you also need to have the server access the files on the server. if nobody and nogroup are still used, in this case, files belonging to the nobody will appear in the system, which is detrimental to system security because other programs will execute some operations with the nobody and nogroup permissions, it is possible to access the files owned by these nobodies, resulting in security problems. Generally, you need to set a specific user and group for the Web service, and change the user and group settings here.
Http://www.bkjia.com/PHPjc/629587.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/629587.htmlTechArticle#ExtendedStatus On br Apache server can report its own running status through special HTTP requests, open this br ExtendedStatus parameter can make the server report more comprehensive run...