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_dir - Apache HTTP Server
    provided by mod autoindex The two functions are separated so that you can completely remove or replace automatic index generation should you want to A trailing slash redirect is issued when the server receives a request for a URL http servername foo dirname where dirname is a directory Directories require a trailing slash so mod dir issues a redirect to http servername foo dirname Directives DirectoryIndex DirectoryIndex Directive Description List of resources to look for when the client requests a directory Syntax DirectoryIndex local url local url Default DirectoryIndex index html Context server config virtual host directory htaccess Override Indexes Status Base Module mod dir The DirectoryIndex directive sets the list of resources to look for when the client requests an index of the directory by specifying a at the end of the a directory name Local url is the encoded URL of a document on the server relative to the requested directory it is usually the name of a file in the directory Several URLs may be given in which case the server will return the first one that it finds If none of the resources exist and the Indexes option is set the server will generate its own

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


  • mod_disk_cache - Apache HTTP Server
    CacheGcClean Context server config virtual host Status Experimental Module mod disk cache More detail will be added here when the function is implemented CacheGcClean 12 daily scripts The CacheGcClean directive is currently not implemented CacheGcDaily Directive Description The recurring time each day for garbage collection to be run 24 hour clock Syntax CacheGcDaily time Default CacheGcDaily Context server config virtual host Status Experimental Module mod disk cache More detail will be added here when the function is implemented CacheGcDaily 23 59 The CacheGcDaily directive is currently not implemented CacheGcInterval Directive Description The interval between garbage collection attempts Syntax CacheGcInterval hours Context server config virtual host Status Experimental Module mod disk cache The CacheGcInterval directive specifies the number of hours to wait between attempts to free up disk space More detail will be added here when the function is implemented CacheGcInterval 24 The CacheGcInterval directive is currently not implemented CacheGcMemUsage Directive Description The maximum kilobytes of memory used for garbage collection Syntax CacheGcMemUsage KBytes Default CacheGcMemUsage Context server config virtual host Status Experimental Module mod disk cache More detail will be added here when the function is implemented CacheGcMemUsage 16 The CacheGcMemUsage directive is currently not implemented CacheGcUnused Directive Description The time to retain unreferenced cached files that match a URL Syntax CacheGcUnused hours url string Default CacheGcUnused Context server config virtual host Status Experimental Module mod disk cache More detail will be added here when the function is implemented CacheGcUnused 12 local images The CacheGcUnused directive is currently not implemented CacheMaxFileSize Directive Description The maximum size in bytes of a document to be placed in the cache Syntax CacheMaxFileSize bytes Default CacheMaxFileSize 1000000 Context server config virtual host Status Experimental Module mod disk cache The CacheMaxFileSize directive sets the maximum size in bytes for a document to be considered for

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

  • mod_echo - Apache HTTP Server
    Identifier echo module Source File mod echo c Compatibility Available in Apache 2 0 and later Summary This module provides an example protocol module to illustrate the concept It provides a simple echo server Telnet to it and type stuff and it will echo it Directives ProtocolEcho ProtocolEcho Directive Description Turn the echo server on or off Syntax ProtocolEcho On Off Context server config virtual host Status Experimental Module mod

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

  • mod_env - Apache HTTP Server
    Variables PassEnv Directive Description Passes environment variables from the shell Syntax PassEnv env variable env variable Context server config virtual host directory htaccess Override FileInfo Status Base Module mod env Specifies one or more environment variables to pass to CGI scripts and SSI pages from the environment of the shell which invoked the httpd process Example PassEnv LD LIBRARY PATH SetEnv Directive Description Sets environment variables Syntax SetEnv env variable

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

  • mod_example - Apache HTTP Server
    is mod example c which illustrates all the different callback mechanisms and call syntaxes By no means does an add on module need to include routines for all of the callbacks quite the contrary The example module is an actual working module If you link it into your server enable the example handler handler for a location and then browse to that location you will see a display of some of the tracing the example module did as the various callbacks were made Directives Example Topics Compiling the example module Using the mod example Module Compiling the example module To include the example module in your server follow the steps below Uncomment the AddModule modules example mod example line near the bottom of the src Configuration file If there isn t one add it it should look like this AddModule modules example mod example o Run the src Configure script cd src Configure This will build the Makefile for the server itself and update the src modules Makefile for any additional modules you have requested from beneath that subdirectory Make the server run make in the src directory To add another module of your own mkdir src modules mymodule cp src modules example src modules mymodule Modify the files in the new directory Follow steps 1 through 3 above with appropriate changes Using the mod example Module To activate the example module include a block similar to the following in your srm conf file Location example info SetHandler example handler Location As an alternative you can put the following into a htaccess file and then request the file test example from that location AddHandler example handler example After reloading restarting your server you should be able to browse to this location and see the brief display mentioned earlier Example Directive

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

  • mod_expires - Apache HTTP Server
    based setting the Expires header will not be added to content that does not come from a file on disk This is due to the fact that there is no modification time for such content ExpiresActive Directive Description Enables generation of Expires headers Syntax ExpiresActive On Off Context server config virtual host directory htaccess Override Indexes Status Extension Module mod expires This directive enables or disables the generation of the Expires header for the document realm in question That is if found in an htaccess file for instance it applies only to documents generated from that directory If set to Off no Expires header will be generated for any document in the realm unless overridden at a lower level such as an htaccess file overriding a server config file If set to On the header will be added to served documents according to the criteria defined by the ExpiresByType and ExpiresDefault directives q v Note that this directive does not guarantee that an Expires header will be generated If the criteria aren t met no header will be sent and the effect will be as though this directive wasn t even specified ExpiresByType Directive Description Value of the Expires header configured by MIME type Syntax ExpiresByType MIME type code seconds Context server config virtual host directory htaccess Override Indexes Status Extension Module mod expires This directive defines the value of the Expires header generated for documents of the specified type e g text html The second argument sets the number of seconds that will be added to a base time to construct the expiration date The base time is either the last modification time of the file or the time of the client s access to the document Which should be used is specified by the code field M means

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

  • mod_ext_filter - Apache HTTP Server
    mode output cmd bin cat preservescontentlength Location core directive to cause the slowdown filter to be run several times on output SetOutputFilter slowdown slowdown slowdown Location Using sed to replace text in the response mod ext filter directive to define a filter which replaces text in the response ExtFilterDefine fixtext mode output intype text html cmd bin sed s verdana arial g Location core directive to cause the fixtext filter to be run on output SetOutputFilter fixtext Location Tracing another filter Trace the data read and written by mod deflate for a particular client IP 192 168 1 31 experiencing compression problems This filter will trace what goes into mod deflate ExtFilterDefine tracebefore cmd bin tracefilter pl tmp tracebefore EnableEnv trace this client This filter will trace what goes after mod deflate Note that without the ftype parameter the default filter type of AP FTYPE RESOURCE would cause the filter to be placed before mod deflate in the filter chain Giving it a numeric value slightly higher than AP FTYPE CONTENT SET will ensure that it is placed after mod deflate ExtFilterDefine traceafter cmd bin tracefilter pl tmp traceafter EnableEnv trace this client ftype 21 Directory usr local docs SetEnvIf Remote Addr 192 168 1 31 trace this client SetOutputFilter tracebefore deflate traceafter Directory Here is the filter which traces the data usr bin perl w use strict open SAVE ARGV 0 or die can t open ARGV 0 while STDIN print SAVE print close SAVE ExtFilterDefine Directive Description Define an external filter Syntax ExtFilterDefine filtername parameters Context server config Status Extension Module mod ext filter The ExtFilterDefine directive defines the characteristics of an external filter including the program to run and its arguments filtername specifies the name of the filter being defined This name can then be used in SetOutputFilter directives It must be unique among all registered filters At the present time no error is reported by the register filter API so a problem with duplicate names isn t reported to the user Subsequent parameters can appear in any order and define the external command to run and certain other characteristics The only required parameter is cmd These parameters are cmd cmdline The cmd keyword allows you to specify the external command to run If there are arguments after the program name the command line should be surrounded in quotation marks e g cmd bin mypgm arg1 arg2 Normal shell quoting is not necessary since the program is run directly bypassing the shell Program arguments are blank delimited A backslash can be used to escape blanks which should be part of a program argument Any backslashes which are part of the argument must be escaped with backslash themselves In addition to the standard CGI environment variables DOCUMENT URI DOCUMENT PATH INFO and QUERY STRING UNESCAPED will also be set for the program mode mode mode should be output for now the default In the future mode input will be used to specify a filter for request bodies intype

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

  • mod_file_cache - Apache HTTP Server
    not currently support the MMapStatic directive while other platforms like AIX support both You will receive an error message in the server error log if you attempt to use an unsupported directive If given an unsupported directive the server will start but the file will not be cached On platforms that support both directives you should experiment with both to see which works best for you MMapFile Directive The MMapFile directive of mod file cache maps a list of statically configured files into memory through the system call mmap This system call is available on most modern Unix derivates but not on all There are sometimes system specific limits on the size and number of files that can be mmap ed experimentation is probably the easiest way to find out This mmap ing is done once at server start or restart only So whenever one of the mapped files changes on the filesystem you have to restart the server see the Stopping and Restarting documentation To reiterate that point if the files are modified in place without restarting the server you may end up serving requests that are completely bogus You should update files by unlinking the old copy and putting a new copy in place Most tools such as rdist and mv do this The reason why this modules doesn t take care of changes to the files is that this check would need an extra stat every time which is a waste and against the intent of I O reduction CacheFile Directive The CacheFile directive of mod file cache opens an active handle or file descriptor to the file or files listed in the configuration directive and places these open file handles in the cache When the file is requested the server retrieves the handle from the cache and passes it to the sendfile or TransmitFile on Windows socket API This file handle caching is done once at server start or restart only So whenever one of the cached files changes on the filesystem you have to restart the server see the Stopping and Restarting documentation To reiterate that point if the files are modified in place without restarting the server you may end up serving requests that are completely bogus You should update files by unlinking the old copy and putting a new copy in place Most tools such as rdist and mv do this Note Don t bother asking for a for a directive which recursively caches all the files in a directory Try this instead See the Include directive and consider this command find www htdocs type f print sed e s mmapfile www conf mmap conf CacheFile Directive Description Cache a list of file handles at startup time Syntax CacheFile file path file path Context server config Status Experimental Module mod file cache The CacheFile directive opens handles to one or more files given as whitespace separated arguments and places these handles into the cache at server startup time Handles to cached files are

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



  •