httpd - Apache Hypertext Transfer Protocol server

2010-12-21  来源:本站原创  分类:PHP  人气:90 

httpd is the Apache HyperText Transfer Protocol (HTTP) server's main program. Is designed as a stand-alone background process, it will process the request to create a child process or thread pool.

Usually, httpd should not be called directly, but should be in the class by apachectl Unix system calls, in the running as a service in Windows NT/2000/XP/2003 and Windows 95/98/ME as a console in the run.
top
Syntax

httpd [-d serverroot] [-f config] [-C directive] [-c directive] [-D parameter] [-e level] [-E file] [-k start | restart | graceful | stop | graceful-stop ] [-R directory] [-h] [-l] [-L] [-S] [-t] [-v] [-V] [-X] [-M]

In the Windows system, you can also use the following parameters:

httpd [-k install | config | uninstall] [-n name] [-w]
top
Options

-D serverroot
ServerRoot directive sets the initial value serverroot. It can be ServerRoot directive in the configuration file is covered. The default value is / usr/local/apache2.
-F config
Used in the startup config as a configuration file. If the config is not to "/" at the beginning, it is relative to the ServerRoot path. The default value is conf / httpd.conf.
-K start | restart | graceful | stop | graceful-stop
Send a signal to the httpd start, restart or stop. For more information, please see the Stop Apache.
-C directive
Reads the configuration file before the first treatment directive of the configuration directives.
-C directive
After reading the configuration file, and then deal with the configuration directive instructions.
-D parameter
Set the parameters parameter, it is with the configuration file <IfDefine> segment for the server starts and restarts, conditionally skip or process certain commands.
-E level
When the server starts, set the LogLevel to level. It is used at boot time, a temporary increase in the level of detail error message to help troubleshoot.
-E file
During the server startup error message to file file.
-R directory
When the server is compiled using the SHARED_CORE rule, which specifies the directory for shared object files directory.
-H
The output of a command-line options are available a brief description.
-L
Output of a static compile the module in the server list. It does not list dynamically loaded using LoadModule command module.
-L
Output of a command list, and includes all instruction and use of effective parameters area.
-M
Output a list of modules has been enabled, including the static compiled in the server module and dynamically loaded as a DSO module.
-S
Display from the configuration file to read and parse the result set (currently only shows the virtual host settings)
-T
Only perform syntax check the configuration file. Check the program syntax parsing immediately after the exit, or return to "0" (OK), or return non-0 value (Error). If you also specify the "-D DUMP_VHOSTS", will display more information on the virtual host configuration.
-V
Display the version of httpd, and then exit.
-V
Show httpd and APR / APR-Util version and build parameters, and then exit.
-X
In debug mode httpd. Start a worker process only, and not with the console from the server.

Only for the Windows platform, the following parameters:

-K install | config | uninstall
Installing Apache as a Windows NT service; change Apache service is started; remove Apache service.
-N name
The name of the specified service name Apache
-W
To keep open the console window, so you can read the error message.

相关文章
  • httpd - Apache Hypertext Transfer Protocol server 2010-12-21

    httpd is the Apache HyperText Transfer Protocol (HTTP) server's main program. Is designed as a stand-alone background process, it will process the request to create a child process or thread pool. Usually, httpd should not be called directly, but sho

  • Achieved in the wireless J2ME devices Hypertext Transfer Protocol [transfer] 2010-12-11

    As more and more mobile phones and personal digital assistants into the information highway began on top of access from the Web site on mobile devices is becoming increasingly important. Java created a small storage capacity of consumer devices, the

  • RFC2616 - Hypertext Transfer Protocol - HTTP/1.1 2008-11-26

    http://www.cnpaf.net/Class/Rfcen/200502/3668.html

  • Details _ http transfer protocol 2010-08-07

    HTTP protocol description Article Category: Web Front End Introduction HTTP is an application layer is object-oriented protocol, because of its simple, quick way to apply to distributed hypermedia information systems. It made in 1990, after years of

  • [Apache] httpd: Could not determine the server's fully qualified domain name 2011-01-14

    httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Solutions : Modify the httpd.conf file Find ServerName Write your server's IP address and port number

  • Lighttpd.Nginx. Apache hide response header Server Information and Version Information 2010-06-11

    web server to avoid unnecessary trouble, can the apache and php version information is not displayed Hide Apache version information / Etc/apache2/apache2.conf or / etc / httpd / conf / httpd.conf ServerTokens ProductOnly ServerSignature Off Restart

  • Conquest of Apache + SVN (transfer) 2010-08-27

    Original Transfer from http://snowolf.javaeye.com/blog/740347 It is not know if this post into which category on the JE where appropriate, with the SVN that project slightly reluctantly into the project management it! SVN used for a long time, but no

  • In Windows, built using Apache + reverse proxy cache server 2010-12-23

    As SquidNT, did not have to STABLE.27 HTTP acceleration to transplant a few attributes, Loss of function caused squid under windows. In fact, Apache has a similar function, 2.X has been released as an official version. Spent the afternoon to work out

  • Built on Windows using Apache + reverse proxy cache server 2010-12-23

    As SquidNT, until STABLE.27 did several of the properties of HTTP accelerated transplant, Lead to loss of function of the windows squid. In fact, Apache has a similar function, 2.X has been released as an official version. Spent an afternoon to work

  • [Transfer] XMPP file transfer protocol of Socket5 Bytestream 2011-02-06

    From: http://bbs.7boo.com.cn/thread-1940-1-1.html XMPP file transfer protocol of Socket5 Bytestream SOCK5 flow in part through the establishment of consultation XMPP XML streams, in part through a separate socket The actual file transfer occurs on a

  • httpd: Could not determine the server's fully qualified domain name - Zhou Baochuan 2011-01-14

    httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName Solutions : Modify the httpd.conf file Find ServerName Write down your server's IP address and port number

  • between the bootloader and serial file transfer protocol --xmodem/ymodem/zmodem 2011-06-03

    x-modem http://baike.baidu.com/view/398756.htm X modem protocol since 1978 has become the de facto standard modem to reach unanimous agreement, check and correct transmission errors has been toward the use of precision, speed and efficiency of the di

  • Conquest of Apache + Tomcat (transfer) 2010-08-27

    Original Transfer from http://snowolf.javaeye.com/blog/743611 Apache and Tomcat is an original, but is a pro! Apache and Tomcat integration is none other than Apache as a front-end path, upon request, port, agent to a number of Tomcat, to reach the p

  • (Transfer) tomcat server.xml file and context.xml under 2010-11-20

    <Server> Element which represents the entire container, Tomcat instance is the top element. By the org.apache.catalina.Server interface definition. It contains a <Service> element. And it can not be used as child elements of any element. <S

  • Talk about the Apache optimization [transfer] 2010-09-28

    Apache optimization of today's talk. Why optimization? Because the server resources are not enough. Resources in many ways, but according to Wood Bucket theory, as long as there are not enough of a resource, the server's performance will be affected

  • APACHE SVN under Linux server set up the whole process 2011-04-20

    Linux system installation and configuration of Subversion First, the first ready-related packages, I am using here is the following a few packages Apr: apr-1.2.12 and apr-util-1.2.12 Apache: httpd-2.2.4.tar.gz Subversion: subversion-1.4.5.tar.gz and

  • (Transfer) sql server string functions Detailed Classification 2010-10-28

    Transfer from http://database.51cto.com/art/201009/225705.htm The following string functions sql server will be classified an explanation, I believe that these string functions sql server can use the methods you learn SQL database can play a helpful

  • [Transfer] MySQL server has gone away solution 2010-08-31

    MySQL server has gone away Sometimes using the MySQL command line to import the backup will be "MySQL server has gone away" error, this may be because some of them the size of the insert statement setting out the current buffer size mysql. Split

  • [Transfer] SQL Server 2000 master database in the system table is mapped to their corresponding SQL Server 2008 system views or functions 2010-12-16

    [Transfer from MSDN: http://msdn.microsoft.com/zh-cn/library/ms187997.aspx ] This topic describes the system functions and system tables and views and the mapping between functions. The following table in SQL Server 2000 system tables within the mast

  • [Transfer] SQL Server indexing 2011-08-09

    Transfer: http://blog.csdn.net/lenotang/article/details/3329501 What is indexing Chinese dictionary to get the directory page (index) analogy: just as the dictionary of Chinese characters as stored by the page, SQL Server data record is stored by the