archive-de.com » DE » K » KW-BERLIN.DE

Total: 256

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • The Apache License, Version 2.0 - Apache HTTP Server
    Subject to the terms and conditions of this License each Contributor hereby grants to You a perpetual worldwide non exclusive no charge royalty free irrevocable except as stated in this section patent license to make have made use offer to sell sell import and otherwise transfer the Work where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution s alone or by combination of their Contribution s with the Work to which such Contribution s was submitted If You institute patent litigation against any entity including a cross claim or counterclaim in a lawsuit alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed Redistribution You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium with or without modifications and in Source or Object form provided that You meet the following conditions You must give any other recipients of the Work or Derivative Works a copy of this License and You must cause any modified files to carry prominent notices stating that You changed the files and You must retain in the Source form of any Derivative Works that You distribute all copyright patent trademark and attribution notices from the Source form of the Work excluding those notices that do not pertain to any part of the Derivative Works and If the Work includes a NOTICE text file as part of its distribution then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file excluding those notices that do not pertain to any part of the Derivative Works in at least one of the following places within a NOTICE text file distributed as part of the Derivative Works within the Source form or documentation if provided along with the Derivative Works or within a display generated by the Derivative Works if and wherever such third party notices normally appear The contents of the NOTICE file are for informational purposes only and do not modify the License You may add Your own attribution notices within Derivative Works that You distribute alongside or as an addendum to the NOTICE text from the Work provided that such additional attribution notices cannot be construed as modifying the License You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use reproduction or distribution of Your modifications or for any such Derivative Works as a whole provided Your use reproduction and distribution of the Work otherwise complies with the conditions stated in this License Submission of Contributions Unless You explicitly state otherwise any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License without any additional

    Original URL path: http://xserve.kw-berlin.de/manual/license.html (2016-02-16)
    Open archived version from archive


  • Compiling and Installing - Apache HTTP Server
    downloaded from the Apache HTTP Server download site which lists several mirrors Most users of Apache HTTPd on unix like systems will be better off downloading and compiling a source version The build process described below is easy and it allows you to customize your server to suit your needs In addition binary releases are often not up to date with the latest source releases If you do download a binary follow the instructions in the INSTALL bindist file inside the distribution After downloading it is important to verify that you have a complete and unmodified version of the Apache HTTP Server This can be accomplished by testing the downloaded tarball against the PGP signature Details on how to do this are available on the download page and an extended example is available describing the use of PGP Extract Extracting the source from the Apache HTTPd tarball is a simple matter of uncompressing and then untarring gzip d httpd NN tar gz tar xvf httpd NN tar This will create a new directory under the current directory containing the source code for the distribution You should cd into that directory before proceeding with compiling the server Configuring the source tree The next step is to configure the Apache HTTPd source tree for your particular platform and personal requirements This is done using the script configure included in the root directory of the distribution Developers downloading an unreleased version of the Apache HTTPd source tree will need to have autoconf and libtool installed and will need to run buildconf before proceeding with the next steps This is not necessary for official releases To configure the source tree using all the default options simply type configure To change the default options configure accepts a variety of variables and command line options 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 More fine tuned control of the location of files is possible with additional configure options Also at this point you can specify which features you want included in Apache HTTPd by enabling and disabling modules The Apache HTTP Server comes with a Base set of modules included by default Other modules are enabled using the enable module option where module is the name of the module with the mod string removed and with any underscore converted to a dash You can also choose to compile modules as shared objects DSOs which can be loaded or unloaded at runtime by using the option enable module shared Similarly you can disable Base modules with the disable module option Be careful when using these options since configure cannot warn you if the module you specify does not exist it will simply ignore the option In addition it is sometimes necessary to provide the configure script with extra information about the location of your compiler libraries or header files This is done by passing

    Original URL path: http://xserve.kw-berlin.de/manual/install.html (2016-02-16)
    Open archived version from archive

  • Starting Apache - Apache HTTP Server
    a less privileged user This is controlled by the selected Multi Processing Module The recommended method of invoking the httpd executable is to use the apachectl control script This script sets certain environment variables that are necessary for httpd to function correctly under some operating systems and then invokes the httpd binary apachectl will pass through any command line arguments so any httpd options may also be used with apachectl You may also directly edit the apachectl script by changing the HTTPD variable near the top to specify the correct location of the httpd binary and any command line arguments that you wish to be always present The first thing that httpd does when it is invoked is to locate and read the configuration file httpd conf The location of this file is set at compile time but it is possible to specify its location at run time using the f command line option as in usr local apache2 bin apachectl f usr local apache2 conf httpd conf If all goes well during startup the server will detach from the terminal and the command prompt will return almost immediately This indicates that the server is up and running You can then use your browser to connect to the server and view the test page in the DocumentRoot directory Errors During Start up If Apache suffers a fatal problem during startup it will write a message describing the problem either to the console or to the ErrorLog before exiting One of the most common error messages is Unable to bind to Port This message is usually caused by either Trying to start the server on a privileged port when not logged in as the root user or Trying to start the server when there is another instance of Apache or some

    Original URL path: http://xserve.kw-berlin.de/manual/invoking.html (2016-02-16)
    Open archived version from archive

  • Stopping and Restarting - Apache HTTP Server
    each child dies off the parent replaces it with a child from the new generation of the configuration which begins serving new requests immediately This code is designed to always respect the process control directive of the MPMs so the number of processes and threads available to serve clients will be maintained at the appropriate values throughout the restart process Furthermore it respects StartServers in the following manner if after one second at least StartServers new children have not been created then create enough to pick up the slack Hence the code tries to maintain both the number of children appropriate for the current load on the server and respect your wishes with the StartServers parameter Users of mod status will notice that the server statistics are not set to zero when a USR1 is sent The code was written to both minimize the time in which the server is unable to serve new requests they will be queued up by the operating system so they re not lost in any event and to respect your tuning parameters In order to do this it has to keep the scoreboard used to keep track of all children across generations The status module will also use a G to indicate those children which are still serving requests started before the graceful restart was given At present there is no way for a log rotation script using USR1 to know for certain that all children writing the pre restart log have finished We suggest that you use a suitable delay after sending the USR1 signal before you do anything with the old log For example if most of your hits take less than 10 minutes to complete for users on low bandwidth links then you could wait 15 minutes before doing anything with the old log If your configuration file has errors in it when you issue a restart then your parent will not restart it will exit with an error In the case of graceful restarts it will also leave children running when it exits These are the children which are gracefully exiting by handling their last request This will cause problems if you attempt to restart the server it will not be able to bind to its listening ports Before doing a restart you can check the syntax of the configuration files with the t command line argument see httpd This still will not guarantee that the server will restart correctly To check the semantics of the configuration files as well as the syntax you can try starting httpd as a non root user If there are no errors it will attempt to open its sockets and logs and fail because it s not root or because the currently running httpd already has those ports bound If it fails for any other reason then it s probably a config file error and the error should be fixed before issuing the graceful restart Restart Now Signal HUP apachectl k restart Sending the

    Original URL path: http://xserve.kw-berlin.de/manual/stopping.html (2016-02-16)
    Open archived version from archive

  • Directive Quick Reference - Apache HTTP Server
    no store CacheStorePrivate On Off Off sv E Attempt to cache responses that the server has marked as private CGIMapExtension cgi path extension dh C Technique for locating the interpreter for CGI scripts CharsetDefault charset svdh E Charset to translate into CharsetOptions option option DebugLevel 0 NoImpl svdh E Configures charset translation behavior CharsetSourceEnc charset svdh E Source charset of files CheckCaseOnly on off Off svdh E Limits the action of the speling module to case corrections CheckSpelling on off Off svdh E Enables the spelling module ChrootDir path to directory s M Directory for apache to run chroot 8 after startup ContentDigest On Off Off svdh C Enables the generation of Content MD5 HTTP Response headers CookieDomain domain svdh E The domain to which the tracking cookie applies CookieExpires expiry period svdh E Expiry time for the tracking cookie CookieLog filename sv B Sets filename for the logging of cookies CookieName token Apache svdh E Name of the tracking cookie CookieStyle Netscape Cookie Cookie2 RFC2109 RFC2965 Netscape svdh E Format of the cookie header field CookieTracking on off off svdh E Enables tracking cookie CoreDumpDirectory directory s M Directory where Apache attempts to switch before dumping core CustomLog file pipe format nickname env environment variable sv B Sets filename and format of log file Dav On Off provider name Off d E Enable WebDAV HTTP methods DavDepthInfinity on off off svd E Allow PROPFIND Depth Infinity requests DavGenericLockDB file path svd E Location of the DAV lock database DavLockDB file path sv E Location of the DAV lock database DavMinTimeout seconds 0 svd E Minimum amount of time the server holds a lock on a DAV resource DBDExptime time in seconds 300 sv E Keepalive time for idle connections DBDKeep number 2 sv E Maximum sustained number of connections DBDMax number 10 sv E Maximum number of connections DBDMin number 1 sv E Minimum number of connections DBDParams param1 value1 param2 value2 sv E Parameters for database connection DBDPersist On Off sv E Whether to use persistent connections DBDPrepareSQL SQL statement label sv E Define an SQL prepared statement DBDriver name sv E Specify an SQL driver DefaultIcon url path svdh B Icon to display for files when no specific icon is configured DefaultLanguage MIME lang svdh B Sets all files in the given scope to the specified language DefaultType MIME type none text plain svdh C MIME content type that will be sent if the server cannot determine a type in any other way DeflateBufferSize value 8096 sv E Fragment size to be compressed at one time by zlib DeflateCompressionLevel value sv E How much compression do we apply to the output DeflateFilterNote type notename sv E Places the compression ratio in a note for logging DeflateMemLevel value 9 sv E How much memory should be used by zlib for compression DeflateWindowSize value 15 sv E Zlib compression window size Deny from all host env env variable host env env variable dh B Controls which hosts are denied access to the server Directory directory path Directory sv C Enclose a group of directives that apply only to the named file system directory and sub directories DirectoryIndex local url local url index html svdh B List of resources to look for when the client requests a directory DirectoryMatch regex DirectoryMatch sv C Enclose directives that apply to file system directories matching a regular expression and their subdirectories DirectorySlash On Off On svdh B Toggle trailing slash redirects on or off DocumentRoot directory path usr local apache h sv C Directory that forms the main document tree visible from the web DumpIOInput On Off Off s E Dump all input data to the error log DumpIOLogLevel level debug s E Controls the logging level of the DumpIO output DumpIOOutput On Off Off s E Dump all output data to the error log EnableExceptionHook On Off Off s M Enables a hook that runs exception handlers after a crash EnableMMAP On Off On svdh C Use memory mapping to read files during delivery EnableSendfile On Off On svdh C Use the kernel sendfile support to deliver files to the client ErrorDocument error code document svdh C What the server will return to the client in case of an error ErrorLog file path syslog facility logs error log Uni sv C Location where the server will log errors Example svdh X Demonstration directive to illustrate the Apache module API ExpiresActive On Off svdh E Enables generation of Expires headers ExpiresByType MIME type code seconds svdh E Value of the Expires header configured by MIME type ExpiresDefault code seconds svdh E Default algorithm for calculating expiration time ExtendedStatus On Off Off s B Keep track of extended status information for each request ExtFilterDefine filtername parameters s E Define an external filter ExtFilterOptions option option DebugLevel 0 NoLogS d E Configure mod ext filter options FallbackResource local url svdh B Define a default URL for requests that don t map to a file FileETag component INode MTime Size svdh C File attributes used to create the ETag HTTP response header for static files Files filename Files svdh C Contains directives that apply to matched filenames FilesMatch regex FilesMatch svdh C Contains directives that apply to regular expression matched filenames FilterChain filter name svdh B Configure the filter chain FilterDeclare filter name type svdh B Declare a smart filter FilterProtocol filter name provider name proto flags svdh B Deal with correct HTTP protocol handling FilterProvider filter name provider name req resp env dispatch match svdh B Register a content filter FilterTrace filter name level svd B Get debug diagnostic information from mod filter ForceLanguagePriority None Prefer Fallback Prefer Fallback Prefer svdh B Action to take if a single acceptable document is not found ForceType MIME type None dh C Forces all matching files to be served with the specified MIME content type ForensicLog filename pipe sv E Sets filename of the forensic log GracefulShutDownTimeout seconds s M Specify a timeout after which a gracefully shutdown server will exit Group unix group 1 s M Group under which the server will answer requests Header condition set append merge add unset echo edit header value early env variable svdh E Configure HTTP response headers HeaderName filename svdh B Name of the file that will be inserted at the top of the index listing HostnameLookups On Off Double Off svd C Enables DNS lookups on client IP addresses IdentityCheck On Off Off svd E Enables logging of the RFC 1413 identity of the remote user IdentityCheckTimeout seconds 30 svd E Determines the timeout duration for ident requests IfDefine parameter name IfDefine svdh C Encloses directives that will be processed only if a test is true at startup IfModule module file module identifier IfModule svdh C Encloses directives that are processed conditional on the presence or absence of a specific module IfVersion operator version IfVersion svdh E contains version dependent configuration ImapBase map referer URL http servername svdh B Default base for imagemap files ImapDefault error nocontent map referer URL nocontent svdh B Default action when an imagemap is called with coordinates that are not explicitly mapped ImapMenu none formatted semiformatted unformatted svdh B Action if no coordinates are given when calling an imagemap Include file path directory path svd C Includes other configuration files from within the server configuration files IndexHeadInsert markup svdh B Inserts text in the HEAD section of an index page IndexIgnore file file svdh B Adds to the list of files to hide when listing a directory IndexOptions option option svdh B Various configuration settings for directory indexing IndexOrderDefault Ascending Descending Name Date Size Description Ascending Name svdh B Sets the default ordering of the directory index IndexStyleSheet url path svdh B Adds a CSS stylesheet to the directory index ISAPIAppendLogToErrors on off off svdh B Record HSE APPEND LOG PARAMETER requests from ISAPI extensions to the error log ISAPIAppendLogToQuery on off on svdh B Record HSE APPEND LOG PARAMETER requests from ISAPI extensions to the query field ISAPICacheFile file path file path sv B ISAPI dll files to be loaded at startup ISAPIFakeAsync on off off svdh B Fake asynchronous support for ISAPI callbacks ISAPILogNotSupported on off off svdh B Log unsupported feature requests from ISAPI extensions ISAPIReadAheadBuffer size 49152 svdh B Size of the Read Ahead Buffer sent to ISAPI extensions KeepAlive On Off On sv C Enables HTTP persistent connections KeepAliveTimeout seconds 5 sv C Amount of time the server will wait for subsequent requests on a persistent connection LanguagePriority MIME lang MIME lang svdh B The precendence of language variants for cases where the client does not express a preference LDAPCacheEntries number 1024 s E Maximum number of entries in the primary LDAP cache LDAPCacheTTL seconds 600 s E Time that cached items remain valid LDAPConnectionTimeout seconds s E Specifies the socket connection timeout in seconds LDAPOpCacheEntries number 1024 s E Number of entries used to cache LDAP compare operations LDAPOpCacheTTL seconds 600 s E Time that entries in the operation cache remain valid LDAPSharedCacheFile directory path filename s E Sets the shared memory cache file LDAPSharedCacheSize bytes 500000 s E Size in bytes of the shared memory cache LDAPTrustedClientCert type directory path filename nickname password svdh E Sets the file containing or nickname referring to a per connection client certificate Not all LDAP toolkits support per connection client certificates LDAPTrustedGlobalCert type directory path filename password s E Sets the file or database containing global trusted Certificate Authority or global client certificates LDAPTrustedMode type sv E Specifies the SSL TLS mode to be used when connecting to an LDAP server LDAPVerifyServerCert On Off On s E Force server certificate verification Limit method method Limit svdh C Restrict enclosed access controls to only certain HTTP methods LimitExcept method method LimitExcept svdh C Restrict access controls to all HTTP methods except the named ones LimitInternalRecursion number number 10 sv C Determine maximum number of internal redirects and nested subrequests LimitRequestBody bytes 0 svdh C Restricts the total size of the HTTP request body sent from the client LimitRequestFields number 100 s C Limits the number of HTTP request header fields that will be accepted from the client LimitRequestFieldSize bytes 8190 s C Limits the size of the HTTP request header allowed from the client LimitRequestLine bytes 8190 s C Limit the size of the HTTP request line that will be accepted from the client LimitXMLRequestBody bytes 1000000 svdh C Limits the size of an XML based request body Listen IP address portnumber protocol s M IP addresses and ports that the server listens to ListenBacklog backlog s M Maximum length of the queue of pending connections LoadFile filename filename s E Link in the named object file or library LoadModule module filename s E Links in the object file or library and adds to the list of active modules Location URL path URL Location sv C Applies the enclosed directives only to matching URLs LocationMatch regex LocationMatch sv C Applies the enclosed directives only to regular expression matching URLs LockFile filename logs accept lock s M Location of the accept serialization lock file LogFormat format nickname nickname h l u t r sv B Describes a format for use in a log file LogLevel level warn sv C Controls the verbosity of the ErrorLog MaxClients number s M Maximum number of connections that will be processed simultaneously MaxKeepAliveRequests number 100 sv C Number of requests allowed on a persistent connection MaxMemFree KBytes 0 s M Maximum amount of memory that the main allocator is allowed to hold without calling free MaxRequestsPerChild number 10000 s M Limit on the number of requests that an individual child server will handle during its life MaxRequestsPerThread number 0 s M Limit on the number of requests that an individual thread will handle during its life MaxSpareServers number 10 s M Maximum number of idle child server processes MaxSpareThreads number s M Maximum number of idle threads MaxThreads number 2048 s M Set the maximum number of worker threads MCacheMaxObjectCount value 1009 s E The maximum number of objects allowed to be placed in the cache MCacheMaxObjectSize bytes 10000 s E The maximum size in bytes of a document allowed in the cache MCacheMaxStreamingBuffer size in bytes the smaller of 1000 s E Maximum amount of a streamed response to buffer in memory before declaring the response uncacheable MCacheMinObjectSize bytes 1 s E The minimum size in bytes of a document to be allowed in the cache MCacheRemovalAlgorithm LRU GDSF GDSF s E The algorithm used to select documents for removal from the cache MCacheSize KBytes 100 s E The maximum amount of memory used by the cache in KBytes MetaDir directory web svdh E Name of the directory to find CERN style meta information files MetaFiles on off off svdh E Activates CERN meta file processing MetaSuffix suffix meta svdh E File name suffix for the file containg CERN style meta information MimeMagicFile file path sv E Enable MIME type determination based on file contents using the specified magic file MinSpareServers number 5 s M Minimum number of idle child server processes MinSpareThreads number s M Minimum number of idle threads available to handle request spikes MMapFile file path file path s X Map a list of files into memory at startup time ModMimeUsePathInfo On Off Off d B Tells mod mime to treat path info components as part of the filename MultiviewsMatch Any NegotiatedOnly Filters Handlers Handlers Filters NegotiatedOnly svdh B The types of files that will be included when searching for a matching file with MultiViews NameVirtualHost addr port s C Designates an IP address for name virtual hosting NoProxy host host sv E Hosts domains or networks that will be connected to directly NWSSLTrustedCerts filename filename s B List of additional client certificates NWSSLUpgradeable IP address portnumber s B Allows a connection to be upgraded to an SSL connection upon request Options option option All svdh C Configures what features are available in a particular directory Order ordering Deny Allow dh B Controls the default access state and the order in which Allow and Deny are evaluated PassEnv env variable env variable svdh B Passes environment variables from the shell PidFile filename logs httpd pid s M File where the server records the process ID of the daemon ProtocolEcho On Off Off sv X Turn the echo server on or off Proxy wildcard url Proxy sv E Container for directives applied to proxied resources ProxyBadHeader IsError Ignore StartBody IsError sv E Determines how to handle bad header lines in a response ProxyBlock word host domain word host domain sv E Words hosts or domains that are banned from being proxied ProxyDomain Domain sv E Default domain name for proxied requests ProxyErrorOverride On Off Off sv E Override error pages for proxied content ProxyFtpDirCharset character set ISO 8859 1 svd E Define the character set for proxied FTP listings ProxyIOBufferSize bytes 8192 sv E Determine size of internal data throughput buffer ProxyMatch regex ProxyMatch sv E Container for directives applied to regular expression matched proxied resources ProxyMaxForwards number 1 sv E Maximium number of proxies that a request can be forwarded through ProxyPass path url key value key value nocanon interpolate svd E Maps remote servers into the local server URL space ProxyPassInterpolateEnv On Off Off svd E Enable Environment Variable interpolation in Reverse Proxy configurations ProxyPassMatch regex url key value key value svd E Maps remote servers into the local server URL space using regular expressions ProxyPassReverse path url interpolate svd E Adjusts the URL in HTTP response headers sent from a reverse proxied server ProxyPassReverseCookieDomain internal domain public domain interpolate svd E Adjusts the Domain string in Set Cookie headers from a reverse proxied server ProxyPassReverseCookiePath internal path public path interpolate svd E Adjusts the Path string in Set Cookie headers from a reverse proxied server ProxyPreserveHost On Off Off sv E Use incoming Host HTTP request header for proxy request ProxyReceiveBufferSize bytes 0 sv E Network buffer size for proxied HTTP and FTP connections ProxyRemote match remote server sv E Remote proxy used to handle certain requests ProxyRemoteMatch regex remote server sv E Remote proxy used to handle requests matched by regular expressions ProxyRequests On Off Off sv E Enables forward standard proxy requests ProxySCGIInternalRedirect On Off On svd E Enable or disable internal redirect responses from the backend ProxySCGISendfile On Off Headername Off svd E Enable evaluation of X Sendfile pseudo response header ProxySet url key value key value d E Set various Proxy balancer or member parameters ProxyStatus Off On Full Off sv E Show Proxy LoadBalancer status in mod status ProxyTimeout seconds sv E Network timeout for proxied requests ProxyVia On Off Full Block Off sv E Information provided in the Via HTTP response header for proxied requests ReadmeName filename svdh B Name of the file that will be inserted at the end of the index listing ReceiveBufferSize bytes 0 s M TCP receive buffer size Redirect status URL path URL svdh B Sends an external redirect asking the client to fetch a different URL RedirectMatch status regex URL svdh B Sends an external redirect based on a regular expression match of the current URL RedirectPermanent URL path URL svdh B Sends an external permanent redirect asking the client to fetch a different URL RedirectTemp URL path URL svdh B Sends an external temporary redirect asking the client to fetch a different URL RemoveCharset extension extension vdh B Removes any character set associations for a set of file extensions RemoveEncoding extension extension vdh B Removes any content encoding associations for a set of file extensions RemoveHandler extension extension vdh B Removes any handler associations for a set of file extensions RemoveInputFilter extension extension vdh B Removes any input filter associations for a set of file extensions RemoveLanguage extension extension vdh B Removes any language associations for a set of file extensions RemoveOutputFilter extension extension vdh B Removes any output filter associations for a set of file extensions RemoveType

    Original URL path: http://xserve.kw-berlin.de/manual/mod/quickreference.html (2016-02-16)
    Open archived version from archive

  • Multi-Processing Modules (MPMs) - Apache HTTP Server
    always accommodated a wide variety of environments through its modular design This design allows the webmaster to choose which features will be included in the server by selecting which modules to load either at compile time or at run time Apache 2 0 extends this modular design to the most basic functions of a web server The server ships with a selection of Multi Processing Modules MPMs which are responsible for binding to network ports on the machine accepting requests and dispatching children to handle the requests Extending the modular design to this level of the server allows two important benefits Apache can more cleanly and efficiently support a wide variety of operating systems In particular the Windows version of Apache is now much more efficient since mpm winnt can use native networking features in place of the POSIX layer used in Apache 1 3 This benefit also extends to other operating systems that implement specialized MPMs The server can be better customized for the needs of the particular site For example sites that need a great deal of scalability can choose to use a threaded MPM like worker or event while sites requiring stability or compatibility with older software can use a prefork At the user level MPMs appear much like other Apache modules The main difference is that one and only one MPM must be loaded into the server at any time The list of available MPMs appears on the module index page Choosing an MPM MPMs must be chosen during configuration and compiled into the server Compilers are capable of optimizing a lot of functions if threads are used but only if they know that threads are being used To actually choose the desired MPM use the argument with mpm NAME with the configure script NAME is

    Original URL path: http://xserve.kw-berlin.de/manual/mpm.html (2016-02-16)
    Open archived version from archive

  • Filters - Apache HTTP Server
    request processing phases Some examples of filtering in the standard Apache distribution are mod include implements server side includes mod ssl implements SSL encryption https mod deflate implements compression decompression on the fly mod charset lite transcodes between different character sets mod ext filter runs an external program as a filter Apache also uses a number of filters internally to perform functions like chunking and byte range handling A wider range of applications are implemented by third party filter modules available from modules apache org and elsewhere A few of these are HTML and XML processing and rewriting XSLT transforms and XIncludes XML Namespace support File Upload handling and decoding of HTML Forms Image processing Protection of vulnerable applications such as PHP scripts Text search and replace editing Smart Filtering mod filter included in Apache 2 1 and later enables the filter chain to be configured dynamically at run time So for example you can set up a proxy to rewrite HTML with an HTML filter and JPEG images with a completely separate filter despite the proxy having no prior information about what the origin server will send This works by using a filter harness that dispatches to different providers according to the actual contents at runtime Any filter may be either inserted directly in the chain and run unconditionally or used as a provider and inserted dynamically For example an HTML processing filter will only run if the content is text html or application xhtml xml A compression filter will only run if the input is a compressible type and not already compressed A charset conversion filter will be inserted if a text document is not already in the desired charset Using Filters There are two ways to use filtering Simple and Dynamic In general you should use one

    Original URL path: http://xserve.kw-berlin.de/manual/filter.html (2016-02-16)
    Open archived version from archive

  • Apache's Handler Use - Apache HTTP Server
    relation to file type This is advantageous both because it is a more elegant solution and because it also allows for both a type and a handler to be associated with a file See also Files with Multiple Extensions Handlers can either be built into the server or included in a module or they can be added with the Action directive The built in handlers in the standard distribution are as follows default handler Send the file using the default handler which is the handler used by default to handle static content core send as is Send file with HTTP headers as is mod asis cgi script Treat the file as a CGI script mod cgi imap file Parse as an imagemap rule file mod imagemap server info Get the server s configuration information mod info server status Get the server s status report mod status type map Parse as a type map file for content negotiation mod negotiation Examples Modifying static content using a CGI script The following directives will cause requests for files with the html extension to trigger the launch of the footer pl CGI script Action add footer cgi bin footer pl AddHandler add footer html Then the CGI script is responsible for sending the originally requested document pointed to by the PATH TRANSLATED environment variable and making whatever modifications or additions are desired Files with HTTP headers The following directives will enable the send as is handler which is used for files which contain their own HTTP headers All files in the web htdocs asis directory will be processed by the send as is handler regardless of their filename extensions Directory web htdocs asis SetHandler send as is Directory Programmer s Note In order to implement the handler features an addition has been made to

    Original URL path: http://xserve.kw-berlin.de/manual/handler.html (2016-02-16)
    Open archived version from archive



  •