archive-fr.com » FR » O » OBSPM.FR

Total: 155

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

Or switch to "Titles and links view".
  • mod_mem_cache - Apache HTTP Server
    MCacheMaxObjectSize 10000 Context server config Status Experimental Module mod mem cache The MCacheMaxObjectSize directive sets the maximum allowable size in bytes of a document for it to be considered cacheable Example MCacheMaxObjectSize 6400000 Note The value of MCacheMaxObjectSize must be greater than the value specified by the MCacheMinObjectSize directive MCacheMaxStreamingBuffer Directive Description Maximum amount of a streamed response to buffer in memory before declaring the response uncacheable Syntax MCacheMaxStreamingBuffer size in bytes Default MCacheMaxStreamingBuffer the smaller of 100000 or MCacheMaxObjectSize Context server config Status Experimental Module mod mem cache The MCacheMaxStreamingBuffer directive specifies the maximum number of bytes of a streamed response to buffer before deciding that the response is too big to cache A streamed response is one in which the entire content is not immediately available and in which the Content Length may not be known Sources of streaming responses include proxied responses and the output of CGI scripts By default a streamed response will not be cached unless it has a Content Length header The reason for this is to avoid using a large amount of memory to buffer a partial response that might end up being too large to fit in the cache The MCacheMaxStreamingBuffer directive allows buffering of streamed responses that don t contain a Content Length up to the specified maximum amount of space If the maximum buffer space is reached the buffered content is discarded and the attempt to cache is abandoned Note Using a nonzero value for MCacheMaxStreamingBuffer will not delay the transmission of the response to the client As soon as mod mem cache copies a block of streamed content into a buffer it sends the block on to the next output filter for delivery to the client Enable caching of streamed responses up to 64KB MCacheMaxStreamingBuffer 65536 MCacheMinObjectSize Directive Description

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_mem_cache.html (2015-11-16)
    Open archived version from archive


  • mod_mime - Apache HTTP Server
    always use x gzip and x compress for these two specific encodings More recent encodings such as deflate should be specified without the x The extension argument is case insensitive and can be specified with or without a leading dot AddHandler Directive Description Maps the filename extensions to the specified handler Syntax AddHandler handler name extension extension Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime Files having the name extension will be served by the specified handler name This mapping is added to any already in force overriding any mappings that already exist for the same extension For example to activate CGI scripts with the file extension cgi you might use AddHandler cgi script cgi Once that has been put into your httpd conf file any file containing the cgi extension will be treated as a CGI program The extension argument is case insensitive and can be specified with or without a leading dot See also SetHandler AddInputFilter Directive Description Maps filename extensions to the filters that will process client requests Syntax AddInputFilter filter filter extension extension Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime Compatibility AddInputFilter is only available in Apache 2 0 26 and later AddInputFilter maps the filename extension extension to the filters which will process client requests and POST input when they are received by the server This is in addition to any filters defined elsewhere including the SetInputFilter directive This mapping is merged over any already in force overriding any mappings that already exist for the same extension If more than one filter is specified they must be separated by semicolons in the order in which they should process the content Both the filter and extension arguments are case insensitive and the extension may be specified with or without a leading dot AddLanguage Directive Description Maps the given filename extension to the specified content language Syntax AddLanguage MIME lang extension extension Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime The AddLanguage directive maps the given filename extension to the specified content language MIME lang is the MIME language of filenames containing extension This mapping is added to any already in force overriding any mappings that already exist for the same extension Example AddEncoding x compress Z AddLanguage en en AddLanguage fr fr Then the document xxxx en Z will be treated as being a compressed English document as will the document xxxx Z en Although the content language is reported to the client the browser is unlikely to use this information The AddLanguage directive is more useful for content negotiation where the server returns one from several documents based on the client s language preference If multiple language assignments are made for the same extension the last one encountered is the one that is used That is for the case of AddLanguage en en AddLanguage en uk en AddLanguage en us en documents with the extension en would be treated as being en us The extension argument is case insensitive and can be specified with or without a leading dot See also mod negotiation AddOutputFilter Directive Description Maps filename extensions to the filters that will process responses from the server Syntax AddOutputFilter filter filter extension extension Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime Compatibility AddOutputFilter is only available in Apache 2 0 26 and later The AddOutputFilter directive maps the filename extension extension to the filters which will process responses from the server before they are sent to the client This is in addition to any filters defined elsewhere including SetOutputFilter and AddOutputFilterByType directive This mapping is merged over any already in force overriding any mappings that already exist for the same extension For example the following configuration will process all shtml files for server side includes and will then compress the output using mod deflate AddOutputFilter INCLUDES DEFLATE shtml If more than one filter is specified they must be separated by semicolons in the order in which they should process the content Both the filter and extension arguments are case insensitive and the extension may be specified with or without a leading dot See also RemoveOutputFilter AddType Directive Description Maps the given filename extensions onto the specified content type Syntax AddType MIME type extension extension Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime The AddType directive maps the given filename extensions onto the specified content type MIME type is the MIME type to use for filenames containing extension This mapping is added to any already in force overriding any mappings that already exist for the same extension This directive can be used to add mappings not listed in the MIME types file see the TypesConfig directive Example AddType image gif png It is recommended that new MIME types be added using the AddType directive rather than changing the TypesConfig file The extension argument is case insensitive and can be specified with or without a leading dot See also DefaultType ForceType DefaultLanguage Directive Description Sets all files in the given scope to the specified language Syntax DefaultLanguage MIME lang Context server config virtual host directory htaccess Override FileInfo Status Base Module mod mime The DefaultLanguage directive tells Apache that all files in the directive s scope e g all files covered by the current Directory container that don t have an explicit language extension such as fr or de as configured by AddLanguage should be considered to be in the specified MIME lang language This allows entire directories to be marked as containing Dutch content for instance without having to rename each file Note that unlike using extensions to specify languages DefaultLanguage can only specify a single language If no DefaultLanguage directive is in force and a file does not have any language extensions as configured by AddLanguage then that file will be considered to have no language attribute Example DefaultLanguage en See also

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_mime.html (2015-11-16)
    Open archived version from archive

  • mod_mime_magic - Apache HTTP Server
    belong 23 audio x adpcm Or these would recognize the difference between doc files containing Microsoft Word or FrameMaker documents These are incompatible file formats which use the same file suffix Frame 0 string MakerFile application x frame 0 string MIFFile application x frame 0 string MakerDictionary application x frame 0 string MakerScreenFon application x frame 0 string MML application x frame 0 string Book application x frame 0 string Maker application x frame MS Word 0 string 376 067 0 043 application msword 0 string 320 317 021 340 241 261 application msword 0 string 333 245 0 0 0 application msword An optional MIME encoding can be included as a fifth column For example this can recognize gzipped files and set the encoding for them gzip GNU zip not to be confused with Info ZIP PKWARE zip archiver 0 string 037 213 application octet stream x gzip Performance Issues This module is not for every system If your system is barely keeping up with its load or if you re performing a web server benchmark you may not want to enable this because the processing is not free However an effort was made to improve the performance of the original file 1 code to make it fit in a busy web server It was designed for a server where there are thousands of users who publish their own documents This is probably very common on intranets Many times it s helpful if the server can make more intelligent decisions about a file s contents than the file name allows even if just to reduce the why doesn t my page work calls when users improperly name their own files You have to decide if the extra work suits your environment Notes The following notes apply to the mod mime magic module and are included here for compliance with contributors copyright restrictions that require their acknowledgment mod mime magic MIME type lookup via file magic numbers Copyright c 1996 1997 Cisco Systems Inc This software was submitted by Cisco Systems to the Apache Group in July 1997 Future revisions and derivatives of this source code must acknowledge Cisco Systems as the original contributor of this module All other licensing and usage conditions are those of the Apache Group Some of this code is derived from the free version of the file command originally posted to comp sources unix Copyright info for that program is included below as required Copyright c Ian F Darwin 1987 Written by Ian F Darwin This software is not subject to any license of the American Telephone and Telegraph Company or of the Regents of the University of California Permission is granted to anyone to use this software for any purpose on any computer system and to alter it and redistribute it freely subject to the following restrictions The author is not responsible for the consequences of use of this software no matter how awful even if they arise from flaws in it The origin

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_mime_magic.html (2015-11-16)
    Open archived version from archive

  • mod_negotiation - Apache HTTP Server
    text html this defaults to 2 otherwise 0 qs a floating point number with a value in the range 0 0 to 1 0 indicating the relative quality of this variant compared to the other available variants independent of the client s capabilities For example a jpeg file is usually of higher source quality than an ascii file if it is attempting to represent a photograph However if the resource being represented is ascii art then an ascii file would have a higher source quality than a jpeg file All qs values are therefore specific to a given resource Example Content Type image jpeg qs 0 8 URI uri of the file containing the variant of the given media type encoded with the given content encoding These are interpreted as URLs relative to the map file they must be on the same server and they must refer to files to which the client would be granted access if they were to be requested directly Body New in Apache 2 0 the actual content of the resource may be included in the type map file using the Body header This header must contain a string that designates a delimiter for the body content Then all following lines in the type map file will be considered part of the resource body until the delimiter string is found Example Body xyz html body p Content of the page p body html xyz MultiViews A MultiViews search is enabled by the MultiViews Options If the server receives a request for some dir foo and some dir foo does not exist then the server reads the directory looking for all files named foo and effectively fakes up a type map which names all those files assigning them the same media types and content encodings it would have if the client had asked for one of them by name It then chooses the best match to the client s requirements and returns that document CacheNegotiatedDocs Directive Description Allows content negotiated documents to be cached by proxy servers Syntax CacheNegotiatedDocs On Off Default CacheNegotiatedDocs Off Context server config virtual host Status Base Module mod negotiation Compatibility The syntax changed in version 2 0 If set this directive allows content negotiated documents to be cached by proxy servers This could mean that clients behind those proxys could retrieve versions of the documents that are not the best match for their abilities but it will make caching more efficient This directive only applies to requests which come from HTTP 1 0 browsers HTTP 1 1 provides much better control over the caching of negotiated documents and this directive has no effect in responses to HTTP 1 1 requests Prior to version 2 0 CacheNegotiatedDocs did not take an argument it was turned on by the presence of the directive by itself ForceLanguagePriority Directive Description Action to take if a single acceptable document is not found Syntax ForceLanguagePriority None Prefer Fallback Prefer Fallback Default ForceLanguagePriority Prefer Context server config virtual

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_negotiation.html (2015-11-16)
    Open archived version from archive

  • mod_nw_ssl - Apache HTTP Server
    functionality that is built into the NetWare operating system Directives NWSSLTrustedCerts SecureListen NWSSLTrustedCerts Directive Description List of additional client certificates Syntax NWSSLTrustedCerts filename filename Context server config Status Base Module mod nw ssl Specifies a list of client certificate files DER format that are used when creating a proxied SSL connection Each client certificate used by a server must be listed separately in its own der file SecureListen Directive Description

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_nw_ssl.html (2015-11-16)
    Open archived version from archive

  • mod_proxy - Apache HTTP Server
    within intranets The NoProxy directive specifies a list of subnets IP addresses hosts and or domains separated by spaces A request to a host which matches one or more of these is always served directly without forwarding to the configured ProxyRemote proxy server s Example ProxyRemote http firewall mycompany com 81 NoProxy mycompany com 192 168 112 0 21 The host arguments to the NoProxy directive are one of the following type list Domain A Domain is a partially qualified DNS domain name preceded by a period It represents a list of hosts which logically belong to the same DNS domain or zone i e the suffixes of the hostnames are all ending in Domain Examples com apache org To distinguish Domain s from Hostname s both syntactically and semantically a DNS domain can have a DNS A record too Domain s are always written with a leading period Note Domain name comparisons are done without regard to the case and Domain s are always assumed to be anchored in the root of the DNS tree therefore two domains MyDomain com and mydomain com note the trailing period are considered equal Since a domain comparison does not involve a DNS lookup it is much more efficient than subnet comparison SubNet A SubNet is a partially qualified internet address in numeric dotted quad form optionally followed by a slash and the netmask specified as the number of significant bits in the SubNet It is used to represent a subnet of hosts which can be reached over a common network interface In the absence of the explicit net mask it is assumed that omitted or zero valued trailing digits specify the mask In this case the netmask can only be multiples of 8 bits wide Examples 192 168 or 192 168 0 0 the subnet 192 168 0 0 with an implied netmask of 16 valid bits sometimes used in the netmask form 255 255 0 0 192 168 112 0 21 the subnet 192 168 112 0 21 with a netmask of 21 valid bits also used in the form 255 255 248 0 As a degenerate case a SubNet with 32 valid bits is the equivalent to an IPAddr while a SubNet with zero valid bits e g 0 0 0 0 0 is the same as the constant Default matching any IP address IPAddr A IPAddr represents a fully qualified internet address in numeric dotted quad form Usually this address represents a host but there need not necessarily be a DNS domain name connected with the address Example 192 168 123 7 Note An IPAddr does not need to be resolved by the DNS system so it can result in more effective apache performance Hostname A Hostname is a fully qualified DNS domain name which can be resolved to one or more IPAddrs via the DNS domain name service It represents a logical host in contrast to Domain s see above and must be resolvable to at least one IPAddr or often to a list of hosts with different IPAddr s Examples prep ai mit edu www apache org Note In many situations it is more effective to specify an IPAddr in place of a Hostname since a DNS lookup can be avoided Name resolution in Apache can take a remarkable deal of time when the connection to the name server uses a slow PPP link Hostname comparisons are done without regard to the case and Hostname s are always assumed to be anchored in the root of the DNS tree therefore two hosts WWW MyDomain com and www mydomain com note the trailing period are considered equal See also DNS Issues Proxy Directive Description Container for directives applied to proxied resources Syntax Proxy wildcard url Proxy Context server config virtual host Status Extension Module mod proxy Directives placed in Proxy sections apply only to matching proxied content Shell style wildcards are allowed For example the following will allow only hosts in yournetwork example com to access content via your proxy server Proxy Order Deny Allow Deny from all Allow from yournetwork example com Proxy The following example will process all files in the foo directory of example com through the INCLUDES filter when they are sent through the proxy server Proxy http example com foo SetOutputFilter INCLUDES Proxy ProxyBadHeader Directive Description Determines how to handle bad header lines in a response Syntax ProxyBadHeader IsError Ignore StartBody Default ProxyBadHeader IsError Context server config virtual host Status Extension Module mod proxy Compatibility available in Apache 2 0 44 and later The ProxyBadHeader directive determines the behaviour of mod proxy if it receives syntactically invalid header lines i e containing no colon The following arguments are possible IsError Abort the request and end up with a 502 Bad Gateway response This is the default behaviour Ignore Treat bad header lines as if they weren t sent StartBody When receiving the first bad header line finish reading the headers and treat the remainder as body This helps to work around buggy backend servers which forget to insert an empty line between the headers and the body ProxyBlock Directive Description Words hosts or domains that are banned from being proxied Syntax ProxyBlock word host domain word host domain Context server config virtual host Status Extension Module mod proxy The ProxyBlock directive specifies a list of words hosts and or domains separated by spaces HTTP HTTPS and FTP document requests to sites whose names contain matched words hosts or domains are blocked by the proxy server The proxy module will also attempt to determine IP addresses of list items which may be hostnames during startup and cache them for match test as well That may slow down the startup time of the server Example ProxyBlock joes garage com some host co uk rocky wotsamattau edu rocky wotsamattau edu would also be matched if referenced by IP address Note that wotsamattau would also be sufficient to match wotsamattau edu Note also that ProxyBlock blocks connections

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_proxy.html (2015-11-16)
    Open archived version from archive

  • mod_proxy_connect - Apache HTTP Server
    module Source File proxy connect c Summary This module requires the service of mod proxy It provides support for the CONNECT HTTP method This method is mainly used to tunnel SSL requests through proxy servers Thus in order to get the ability of handling CONNECT requests mod proxy and mod proxy connect have to be present in the server Warning Do not enable proxying until you have secured your server

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_proxy_connect.html (2015-11-16)
    Open archived version from archive

  • mod_proxy_ftp - Apache HTTP Server
    Extension Module Identifier proxy ftp module Source File proxy ftp c Summary This module requires the service of mod proxy It provides support for the proxying FTP sites Thus in order to get the ability of handling FTP proxy requests mod proxy and mod proxy ftp have to be present in the server Warning Do not enable proxying until you have secured your server Open proxy servers are dangerous both

    Original URL path: http://ama09.obspm.fr/manual-2.0/mod/mod_proxy_ftp.html (2015-11-16)
    Open archived version from archive



  •