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_cache - Apache HTTP Server
    last modified date are provided with the document The value specified with the CacheMaxExpire directive does not override this setting CacheDefaultExpire 86400 CacheDisable Directive Description Disable caching of specified URLs Syntax CacheDisable url string Context server config virtual host Status Experimental Module mod cache The CacheDisable directive instructs mod cache to not cache urls at or below url string Example CacheDisable local files CacheEnable Directive Description Enable caching of specified URLs using a specified storage manager Syntax CacheEnable cache type url string Context server config virtual host Status Experimental Module mod cache The CacheEnable directive instructs mod cache to cache urls at or below url string The cache storage manager is specified with the cache type argument cache type mem instructs mod cache to use the memory based storage manager implemented by mod mem cache cache type disk instructs mod cache to use the disk based storage manager implemented by mod disk cache cache type fd instructs mod cache to use the file descriptor cache implemented by mod mem cache In the event that the URL space overlaps between different CacheEnable directives as in the example below each possible storage manager will be run until the first one that actually processes the request The order in which the storage managers are run is determined by the order of the CacheEnable directives in the configuration file CacheEnable mem manual CacheEnable fd images CacheEnable disk CacheForceCompletion Directive Description Percentage of document served after which the server will complete caching the file even if the request is cancelled Syntax CacheForceCompletion Percentage Default CacheForceCompletion 60 Context server config virtual host Status Experimental Module mod cache Ordinarily if a request is cancelled while the response is being cached and delivered to the client the processing of the response will stop and the cache entry will be removed The CacheForceCompletion directive specifies a threshold beyond which the document will continue to be cached to completion even if the request is cancelled The threshold is a percentage specified as a value between 1 and 100 A value of 0 specifies that the default be used A value of 100 will only cache documents that are served in their entirety A value between 60 and 90 is recommended CacheForceCompletion 80 Note This feature is currently not implemented CacheIgnoreCacheControl Directive Description Ignore the fact that the client requested the content not be cached Syntax CacheIgnoreCacheControl On Off Default CacheIgnoreCacheControl Off Context server config virtual host Status Experimental Module mod cache Ordinarily documents with no cache or no store header values will not be stored in the cache The CacheIgnoreCacheControl directive allows this behavior to be overridden CacheIgnoreCacheControl On tells the server to attempt to cache the document even if it contains no cache or no store header values Documents requiring authorization will never be cached CacheIgnoreCacheControl On CacheIgnoreNoLastMod Directive Description Ignore the fact that a response has no Last Modified header Syntax CacheIgnoreNoLastMod On Off Default CacheIgnoreNoLastMod Off Context server config virtual host Status Experimental Module mod cache Ordinarily

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


  • mod_cern_meta - Apache HTTP Server
    Expires header as well as providing other curiosities There are many ways to manage meta information this one was chosen because there is already a large number of CERN users who can exploit this module More information on the CERN metafile semantics is available Directives MetaDir MetaFiles MetaSuffix See also mod headers mod asis MetaDir Directive Description Name of the directory to find CERN style meta information files Syntax MetaDir directory Default MetaDir web Context server config virtual host directory htaccess Override Indexes Status Extension Module mod cern meta Specifies the name of the directory in which Apache can find meta information files The directory is usually a hidden subdirectory of the directory that contains the file being accessed Set to to look in the same directory as the file MetaDir Or to set it to a subdirectory of the directory containing the files MetaDir meta MetaFiles Directive Description Activates CERN meta file processing Syntax MetaFiles on off Default MetaFiles off Context server config virtual host directory htaccess Override Indexes Status Extension Module mod cern meta Turns on off Meta file processing on a per directory basis MetaSuffix Directive Description File name suffix for the file containg CERN style meta

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

  • mod_cgi - Apache HTTP Server
    more path info following the script filename in the URI while the core server will return a 404 NOT FOUND error for requests with additional path info Omitting the AcceptPathInfo directive has the same effect as setting it On for mod cgi requests REMOTE HOST This will only be set if HostnameLookups is set to on it is off by default and if a reverse DNS lookup of the accessing host s address indeed finds a host name REMOTE IDENT This will only be set if IdentityCheck is set to on and the accessing host supports the ident protocol Note that the contents of this variable cannot be relied upon because it can easily be faked and if there is a proxy between the client and the server it is usually totally useless REMOTE USER This will only be set if the CGI script is subject to authentication CGI Debugging Debugging CGI scripts has traditionally been difficult mainly because it has not been possible to study the output standard output and error for scripts which are failing to run properly These directives included in Apache 1 2 and later provide more detailed logging of errors when they occur CGI Logfile Format When configured the CGI error log logs any CGI which does not execute properly Each CGI script which fails to operate causes several lines of information to be logged The first two lines are always of the format time request line HTTP status CGI script filename If the error is that CGI script cannot be run the log file will contain an extra two lines error error message Alternatively if the error is the result of the script returning incorrect header information often due to a bug in the script the following information is logged request All HTTP request headers received POST or PUT entity if any response All headers output by the CGI script stdout CGI standard output stderr CGI standard error The stdout and stderr parts may be missing if the script did not output anything on standard output or standard error ScriptLog Directive Description Location of the CGI script error logfile Syntax ScriptLog file path Context server config virtual host Status Base Module mod cgi mod cgid The ScriptLog directive sets the CGI script error logfile If no ScriptLog is given no error log is created If given any CGI errors are logged into the filename given as argument If this is a relative file or path it is taken relative to the ServerRoot Example ScriptLog logs cgi log This log will be opened as the user the child processes run as i e the user specified in the main User directive This means that either the directory the script log is in needs to be writable by that user or the file needs to be manually created and set to be writable by that user If you place the script log in your main logs directory do NOT change the directory permissions to make it

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

  • mod_cgid - Apache HTTP Server
    the mod cgi summary for additional details about Apache and CGI On certain unix operating systems forking a process from a multi threaded server is a very expensive operation because the new process will replicate all the threads of the parent process In order to avoid incurring this expense on each CGI invocation mod cgid creates an external daemon that is responsible for forking child processes to run CGI scripts The main server communicates with this daemon using a unix domain socket This module is used by default instead of mod cgi whenever a multi threaded MPM is selected during the compilation process At the user level this module is identical in configuration and operation to mod cgi The only exception is the additional directive ScriptSock which gives the name of the socket to use for communication with the cgi daemon Directives ScriptLog ScriptLogBuffer ScriptLogLength ScriptSock See also mod cgi Running CGI programs under different user IDs ScriptSock Directive Description The name of the socket to use for communication with the cgi daemon Syntax ScriptSock file path Default ScriptSock logs cgisock Context server config virtual host Status Base Module mod cgid This directive sets the name of the socket to

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

  • mod_charset_lite - Apache HTTP Server
    character set names The character set name parameters of CharsetSourceEnc and CharsetDefault must be acceptable to the translation mechanism used by APR on the system where mod charset lite is deployed These character set names are not standardized and are usually not the same as the corresponding values used in http headers Currently APR can only use iconv 3 so you can easily test your character set names using the iconv 1 program as follows iconv f charsetsourceenc value t charsetdefault value Mismatch between character set of content and translation rules If the translation rules don t make sense for the content translation can fail in various ways including The translation mechanism may return a bad return code and the connection will be aborted The translation mechanism may silently place special characters e g question marks in the output buffer when it cannot translate the input buffer CharsetDefault Directive Description Charset to translate into Syntax CharsetDefault charset Context server config virtual host directory htaccess Override FileInfo Status Experimental Module mod charset lite The CharsetDefault directive specifies the charset that content in the associated container should be translated to The value of the charset argument must be accepted as a valid character set name by the character set support in APR Generally this means that it must be supported by iconv Example Directory export home trawick apacheinst htdocs convert CharsetSourceEnc UTF 16BE CharsetDefault ISO 8859 1 Directory CharsetOptions Directive Description Configures charset translation behavior Syntax CharsetOptions option option Default CharsetOptions DebugLevel 0 NoImplicitAdd Context server config virtual host directory htaccess Override FileInfo Status Experimental Module mod charset lite The CharsetOptions directive configures certain behaviors of mod charset lite Option can be one of DebugLevel n The DebugLevel keyword allows you to specify the level of debug messages generated by mod charset

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

  • mod_dav - Apache HTTP Server
    usr local apache2 var DavLock Location foo Dav On AuthType Basic AuthName DAV AuthUserFile user passwd LimitExcept GET OPTIONS require user admin LimitExcept Location mod dav is a descendent of Greg Stein s mod dav for Apache 1 3 More information about the module is available from that site Security Issues Since DAV access methods allow remote clients to manipulate files on the server you must take particular care to assure that your server is secure before enabling mod dav Any location on the server where DAV is enabled should be protected by authentication The use of HTTP Basic Authentication is not recommended You should use at least HTTP Digest Authentication which is provided by the mod auth digest module Nearly all WebDAV clients support this authentication method An alternative is Basic Authentication over an SSL enabled connection In order for mod dav to manage files it must be able to write to the directories and files under its control using the User and Group under which Apache is running New files created will also be owned by this User and Group For this reason it is important to control access to this account The DAV repository is considered private to Apache modifying files outside of Apache for example using FTP or filesystem level tools should not be allowed mod dav may be subject to various kinds of denial of service attacks The LimitXMLRequestBody directive can be used to limit the amount of memory consumed in parsing large DAV requests The DavDepthInfinity directive can be used to prevent PROPFIND requests on a very large repository from consuming large amounts of memory Another possible denial of service attack involves a client simply filling up all available disk space with many large files There is no direct way to prevent this in Apache so you should avoid giving DAV access to untrusted users Complex Configurations One common request is to use mod dav to manipulate dynamic files PHP scripts CGI scripts etc This is difficult because a GET request will always run the script rather than downloading its contents One way to avoid this is to map two different URLs to the content one of which will run the script and one of which will allow it to be downloaded and manipulated with DAV Alias phparea home gstein php files Alias php source home gstein php files Location php source DAV On ForceType text plain Location With this setup http example com phparea can be used to access the output of the PHP scripts and http example com php source can be used with a DAV client to manipulate them Dav Directive Description Enable WebDAV HTTP methods Syntax Dav On Off provider name Default Dav Off Context directory Status Extension Module mod dav Use the Dav directive to enable the WebDAV HTTP methods for the given container Location foo Dav On Location The value On is actually an alias for the default provider filesystem which is served by the mod dav fs

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

  • mod_dav_fs - Apache HTTP Server
    default provider for mod dav you may simply use the value On instead Directives DavLockDB See also mod dav DavLockDB Directive Description Location of the DAV lock database Syntax DavLockDB file path Context server config virtual host Status Extension Module mod dav fs Use the DavLockDB directive to specify the full path to the lock database excluding an extension If the path is not absolute it will be taken relative

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

  • mod_deflate - Apache HTTP Server
    the following excerpt from the configuration example defined in the section above BrowserMatch Mozilla 4 gzip only text html BrowserMatch Mozilla 4 0 678 no gzip BrowserMatch bMSIE no gzip gzip only text html At first we probe for a User Agent string that indicates a Netscape Navigator version of 4 x These versions cannot handle compression of types other than text html The versions 4 06 4 07 and 4 08 also have problems with decompressing html files Thus we completely turn off the deflate filter for them The third BrowserMatch directive fixes the guessed identity of the user agent because the Microsoft Internet Explorer identifies itself also as Mozilla 4 but is actually able to handle requested compression Therefore we match against the additional string MSIE b means word boundary in the User Agent Header and turn off the restrictions defined before Note The DEFLATE filter is always inserted after RESOURCE filters like PHP or SSI It never touches internal subrequests Input Decompression The mod deflate module also provides a filter for decompressing a gzip compressed request body In order to activate this feature you have to insert the DEFLATE filter into the input filter chain using SetInputFilter or AddInputFilter for example Location dav area SetInputFilter DEFLATE Location Now if a request contains a Content Encoding gzip header the body will be automatically decompressed Few browsers have the ability to gzip request bodies However some special applications actually do support request compression for instance some WebDAV clients Note on Content Length If you evaluate the request body yourself don t trust the Content Length header The Content Length header reflects the length of the incoming data from the client and not the byte count of the decompressed data stream Dealing with proxy servers The mod deflate module sends a Vary Accept Encoding HTTP response header to alert proxies that a cached response should be sent only to clients that send the appropriate Accept Encoding request header This prevents compressed content from being sent to a client that will not understand it If you use some special exclusions dependent on for example the User Agent header you must manually configure an addition to the Vary header to alert proxies of the additional restrictions For example in a typical configuration where the addition of the DEFLATE filter depends on the User Agent you should add Header append Vary User Agent If your decision about compression depends on other information than request headers e g HTTP version you have to set the Vary header to the value This prevents compliant proxies from caching entirely Example Header set Vary DeflateBufferSize Directive Description Fragment size to be compressed at one time by zlib Syntax DeflateBufferSize value Default DeflateBufferSize 8096 Context server config virtual host Status Extension Module mod deflate The DeflateBufferSize directive specifies the size in bytes of the fragments that zlib should compress at one time DeflateCompressionLevel Directive Description How much compression do we apply to the output Syntax DeflateCompressionLevel value Default

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



  •