... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > Developer Documentation . ... The allocation mechanisms within APR have a number of debugging modes that can be used to assist in finding memory problems. ... Debugging support: Define this to enable code which helps detect re-use of free() d memory and other such nonsense. ... To enable allocation debugging simply move the #define ALLOC_DEBUG above the start of the comments block and rebuild the server. ...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > Developer Documentation . ... Apache 2.0 uses Doxygen to document the APIs and global variables in the code. This will explain the basics of how to document using Doxygen. ... return description . deffunc signature of the function . ... DoxyGen does not have a full parser in it, so any prototype that use a macro in the return type declaration is too complex for scandoc. ... foo/bar/gum" -> "gum" . ...
... Apache HTTP Server Version 2.2 . ... Filter Types . ... It is important to make the distinction between a protocol and a resource filter. ... If you are writing a filter and you want to know if it is resource or protocol, the correct question to ask is: "Can this filter be removed if the request is redirected to a different resource?" ... So, instead of starting from scratch, we simply point the front of the resource filters for the sub-request to the front of the protocol filters for the old...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > Developer Documentation . ... In general, a hook function is one that Apache will call at some point during the processing of a request. ... Use the AP_DECLARE_HOOK macro, which needs to be given the return type of the hook function, the name of the hook, and the arguments. For example, if the hook returns an int and takes a request_rec * and an int and is called do_something , then declare it like this: . ...
Modules | ... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > Developer Documentation . ... This is a first attempt at writing the lessons I learned when trying to convert the mod_mmap_static module to Apache 2.0. ... So the name gets a small change from mmap_init to mmap_post_config . ... server_rec *s . ... server config */ . create per-server config structures */ . ... merge server config */ . merge per-server config structures */ . ...
Modules | ... Apache HTTP Server Version 2.2 . ... Several changes in Apache 2.0 affect the internal request processing mechanics. ... If a module doesn't pass generated requests through this code, the author is cautioned that the module may be broken by future changes to request processing. To streamline requests, the module author can take advantage of the hooks offered to drop out of the request cycle early, or to bypass core Apache hooks which are irrelevant (and costly in terms of CPU.) ...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > Developer Documentation . ... When using any of the threaded mpms in Apache 2.0 it is important that every function called from Apache be thread safe. ... Casual testing generally won't tell you this either as thread safety problems can lead to subtle race conditons that may only show up in certain conditions under heavy load. ... libsablot.so.0 => /usr/local/lib/libsablot.so.0 (0x401f6000) . ... Yes . ...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 . ... This document is not a traditional FAQ, but rather a quick guide showing you what to do when you run into problems with the Apache HTTP Server. ... The Apache HTTP Server Wiki contains guides to solving many common problems. ... Do not submit a new bug report until you have checked existing reports (open and closed) and asked about your problem in a user-support forum (see below). ...
Modules | ... Glossary | ... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 . ... A perl script that aids in compiling module sources into Dynamic Shared Objects ( DSO s) and helps install them in the Apache Web server. ... APR is developed parallel to the Apache HTTP Server as an independent project. ... See: SSL/TLS Encryption . ... See: Directive . ... Many modules are available for Apache that are not distributed as part of the Apache HTTP Server tarball . ...
... Directives | ... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials . ... Alternate password storage . ... The module mod_authz_host provides authorization and access control based on hostname, IP address or characteristics of the request, but is not part of the authentication provider system. ... If you plan to use .htaccess files, you will need to have a server configuration that permits putting authentication directives in these files. ...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials . ... Configuring Apache to permit CGI . Writing a CGI program . ... The CGI (Common Gateway Interface) defines a way for a web server to interact with external content-generating programs, which are often referred to as CGI programs or CGI scripts. ... The ScriptAlias directive tells Apache that a particular directory is set aside for CGI programs. ... The output of your CGI program . ...
... Directives | ... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials . ... pt-br .htaccess files provide a way to make configuration changes on a per-directory basis.htaccess files . ... htaccess . ... Putting authentication directives in a <Directory> section, in your main server configuration file, is the preferred way to implement this, and .htaccess files should be used only if you don't have access to the main server configuration file. ...
... Apache HTTP Server Version 2.2 . ... On systems with multiple users, each user can be permitted to have a web site in their home directory using the UserDir directive. Visitors to a URL http://example.com/~username/ will get content out of the home directory of the user " username ", out of the subdirectory specified by the UserDir directive. Per-user web directories . ... the URL http://example.com/~rbowen/file.html will be translated to the file path /home/rbowen/public_html/file.html . ...
... Directives | ... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 > How-To / Tutorials . ... Server-side includes provide a means to add dynamic content to existing HTML documents. ... What are SSI? ... SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. ... To permit SSI on your server, you must have the following directive either in your httpd.conf file, or in a .htaccess file: . ...
... Apache HTTP Server Version 2.2 . ... For compiling and installation on Windows, see Using Apache HTTPd with Microsoft Windows . ... make . ... Each section of the compilation and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server. ... The most important option is the location --prefix where the Apache HTTP Server is to be installed later, because Apache HTTPd has to be configured for this location to work correctly....
... Apache HTTP Server Version 2.2 . ... How Apache Starts . ... If the Listen specified in the configuration file is default of 80 (or any other port below 1024), then it is necessary to have root privileges in order to start apache, so that it can bind to this privileged port. ... The recommended method of invoking the httpd executable is to use the apachectl control script. ... Trying to start the server when there is another instance of Apache or some other web server already bound to the same Port....
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 . ... Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). ... Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
... Apache HTTP Server Version 2.2 . Apache > HTTP Server > Documentation > Version 2.2 . Available Languages: en | ... Below is a list of additional documentation pages that apply to the Apache web server development project. The documents below have not been fully updated to take into account changes made in the 2.1 version of the Apache HTTP Server. Some of the information may still be relevant, but please use it with care. Performance Notes - Apache Tuning . ...
... Apache HTTP Server Version 2.2 . ... Digest Authentication . ... MD5 . apr1$" + the result of an Apache-specific algorithm using an iterated (1,000 times) MD5 digest of various combinations of a randoml 32-bit salt and the password. ... apr1$r31.. ... Apache recognizes one format for digest-authentication passwords - the MD5 hash of the string user:realm:password as a 32-character string of hexadecimal digits. realm is the Authorization Realm argument to the AuthName directive in httpd.conf. ...
... Apache HTTP Server Version 2.2 . ... This document describes the options that a server administrator can configure to tune the performance of an Apache 2.x installation. ... You can, and should, control the MaxClients setting so that your server does not spawn so many children it starts swapping. ... If you need to have addresses in your log files resolved to hostnames, use the logresolve program that comes with Apache, or one of the numerous log reporting packages which are available. ... Files> . ...