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_headers - Apache HTTP Server
    module SetEnvIf MyRequestHeader value HAVE MyRequestHeader Header add MyHeader D t mytext env HAVE MyRequestHeader If the header MyRequestHeader value is present on the HTTP request the response will contain the following header MyHeader D 3775428 t 991424704447256 mytext Header Directive Description Configure HTTP response headers Syntax Header set append add unset echo header value env variable Context server config virtual host directory htaccess Override FileInfo Status Extension Module mod headers This directive can replace merge or remove HTTP response headers The header is modified just after the content handler and output filters are run allowing outgoing headers to be modified The action it performs is determined by the first argument This can be one of the following values set The response header is set replacing any previous header with this name The value may be a format string append The response header is appended to any existing header of the same name When a new value is merged onto an existing header it is separated from the existing header with a comma This is the HTTP standard way of giving a header multiple values add The response header is added to the existing set of headers even if this header already exists This can result in two or more headers having the same name This can lead to unforeseen consequences and in general append should be used instead unset The response header of this name is removed if it exists If there are multiple headers of the same name all will be removed echo Request headers with this name are echoed back in the response headers header may be a regular expression This argument is followed by a header name which can include the final colon but it is not required Case is ignored for set append add and unset The header name for echo is case sensitive and may be a regular expression For add append and set a value is specified as the third argument If value contains spaces it should be surrounded by doublequotes value may be a character string a string containing format specifiers or a combination of both The following format specifiers are supported in value t The time the request was received in Universal Coordinated Time since the epoch Jan 1 1970 measured in microseconds The value is preceded by t D The time from when the request was received to the time the headers are sent on the wire This is a measure of the duration of the request The value is preceded by D FOOBAR e The contents of the environment variable FOOBAR When the Header directive is used with the add append or set argument a fourth argument may be used to specify conditions under which the action will be taken If the environment variable specified in the env argument exists or if the environment variable does not exist and env is specified then the action specified by the Header directive will take effect Otherwise the directive will have no

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


  • mod_imap - Apache HTTP Server
    No Content to be returned The client should keep the same page displayed poly Directive Takes three to one hundred points and is obeyed if the user selected coordinates fall within the polygon defined by these points circle Takes the center coordinates of a circle and a point on the circle Is obeyed if the user selected point is with the circle rect Directive Takes the coordinates of two opposing corners of a rectangle Obeyed if the point selected is within this rectangle point Directive Takes a single point The point directive closest to the user selected point is obeyed if no other directives are satisfied Note that default will not be followed if a point directive is present and valid coordinates are given Values The values for each of the directives can any of the following a URL The URL can be relative or absolute URL Relative URLs can contain syntax and will be resolved relative to the base value base itself will not resolved according to the current value A statement base mailto will work properly though map Equivalent to the URL of the imagemap file itself No coordinates are sent with this so a menu will be generated unless ImapMenu is set to none menu Synonymous with map referer Equivalent to the URL of the referring document Defaults to http servername if no Referer header was present nocontent Sends a status code of 204 No Content telling the client to keep the same page displayed Valid for all but base error Fails with a 500 Server Error Valid for all but base but sort of silly for anything but default Coordinates 0 0 200 200 A coordinate consists of an x and a y value separated by a comma The coordinates are separated from each other by whitespace To accommodate the way Lynx handles imagemaps should a user select the coordinate 0 0 it is as if no coordinate had been selected Quoted Text Menu Text After the value or after the coordinates the line optionally may contain text within double quotes This string is used as the text for the link if a menu is generated a href http foo com Menu text a If no quoted text is present the name of the link will be used as the text a href http foo com http foo com a If you want to use double quotes within this text you have to write them as quot Example Mapfile Comments are printed in a formatted or semiformatted menu And can contain html tags hr base referer poly map Could I have a menu please 0 0 0 10 10 10 10 0 rect 0 0 77 27 the directory of the referer circle http www inetnebr com lincoln feedback 195 0 305 27 rect another file in same directory as referer 306 0 419 27 point http www zyzzyva com 100 100 point http www tripod com 200 200 rect mailto nate tripod com 100 150

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

  • mod_include - Apache HTTP Server
    document Note that this does not print the size of any CGI output but the size of the CGI script itself The flastmod Element This command prints the last modification date of the specified file subject to the timefmt format specification The attributes are the same as for the fsize command The include Element This command inserts the text of another document or file into the parsed file Any included file is subject to the usual access control If the directory containing the parsed file has Options IncludesNOEXEC set then only documents with a text MIME type text plain text html etc will be included Otherwise CGI scripts are invoked as normal using the complete URL given in the command including any query string An attribute defines the location of the document the inclusion is done for each attribute given to the include command The valid attributes are file The value is a path relative to the directory containing the current document being parsed It cannot contain nor can it be an absolute path Therefore you cannot include files that are outside of the document root or above the current document in the directory structure The virtual attribute should always be used in preference to this one virtual The value is a encoded URL path The URL cannot contain a scheme or hostname only a path and an optional query string If it does not begin with a slash then it is taken to be relative to the current document A URL is constructed from the attribute and the output the server would return if the URL were accessed by the client is included in the parsed output Thus included files can be nested If the specified URL is a CGI program the program will be executed and its output inserted in place of the directive in the parsed file You may include a query string in a CGI url include virtual cgi bin example cgi argument value include virtual should be used in preference to exec cgi to include the output of CGI programs into an HTML document The printenv Element This prints out a listing of all existing variables and their values Special characters are entity encoded see the echo element for details before being output There are no attributes Example printenv The set Element This sets the value of a variable Attributes var The name of the variable to set value The value to give a variable Example set var category value help Include Variables In addition to the variables in the standard CGI environment these are available for the echo command for if and elif and to any program invoked by the document DATE GMT The current date in Greenwich Mean Time DATE LOCAL The current date in the local time zone DOCUMENT NAME The filename excluding directories of the document requested by the user DOCUMENT URI The decoded URL path of the document requested by the user Note that in the case of nested include

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

  • mod_info - Apache HTTP Server
    configuration information Once configured the server information is obtained by accessing http your host dom server info Note that the configuration files are read by the module at run time and therefore the display may not reflect the running server s active configuration if the files have been changed since the server was last reloaded Also the configuration files must be readable by the user as which the server is running see the User directive or else the directive settings will not be listed It should also be noted that if mod info is compiled into the server its handler capability is available in all configuration files including per directory files e g htaccess This may have security related ramifications for your site In particular this module can leak sensitive information from the configuration directives of other Apache modules such as system paths usernames passwords database names etc Due to the way this module works there is no way to block information from it Therefore this module should only be used in a controlled environment and always with caution Directives AddModuleInfo AddModuleInfo Directive Description Adds additional information to the module information displayed by the server info handler Syntax AddModuleInfo module

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

  • mod_isapi - Apache HTTP Server
    are subtly incompatible with the Apache server and unloading these modules helps to ensure the stability of the server Also remember that while Apache supports ISAPI Extensions it does not support ISAPI Filters Support for filters may be added at a later date but no support is planned at this time Programmer s Journal If you are programming Apache 2 0 mod isapi modules you must limit your calls to ServerSupportFunction to the following directives HSE REQ SEND URL REDIRECT RESP Redirect the user to another location This must be a fully qualified URL e g http server location HSE REQ SEND URL Redirect the user to another location This cannot be a fully qualified URL you are not allowed to pass the protocol or a server name e g simply location This redirection is handled by the server not the browser Warning In their recent documentation Microsoft appears to have abandoned the distinction between the two HSE REQ SEND URL functions Apache continues to treat them as two distinct functions with different requirements and behaviors HSE REQ SEND RESPONSE HEADER Apache accepts a response body following the header if it follows the blank line two consecutive newlines in the headers string argument This body cannot contain NULLs since the headers argument is NULL terminated HSE REQ DONE WITH SESSION Apache considers this a no op since the session will be finished when the ISAPI returns from processing HSE REQ MAP URL TO PATH Apache will translate a virtual name to a physical name HSE APPEND LOG PARAMETER This logged message may be captured in any of the following logs in the isapi parameter n component in a CustomLog directive in the q log component with the ISAPIAppendLogToQuery On directive in the error log with the ISAPIAppendLogToErrors On directive The first option the isapi parameter n component is always available and preferred HSE REQ IS KEEP CONN Will return the negotiated Keep Alive status HSE REQ SEND RESPONSE HEADER EX Will behave as documented although the fKeepConn flag is ignored HSE REQ IS CONNECTED Will report false if the request has been aborted Apache returns FALSE to any unsupported call to ServerSupportFunction and sets the GetLastError value to ERROR INVALID PARAMETER ReadClient retrieves the request body exceeding the initial buffer defined by ISAPIReadAheadBuffer Based on the ISAPIReadAheadBuffer setting number of bytes to buffer prior to calling the ISAPI handler shorter requests are sent complete to the extension when it is invoked If the request is longer the ISAPI extension must use ReadClient to retrieve the remaining request body WriteClient is supported but only with the HSE IO SYNC flag or no option flag value of 0 Any other WriteClient request will be rejected with a return value of FALSE and a GetLastError value of ERROR INVALID PARAMETER GetServerVariable is supported although extended server variables do not exist as defined by other servers All the usual Apache CGI environment variables are available from GetServerVariable as well as the ALL HTTP and

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

  • mod_ldap - Apache HTTP Server
    the search bind phase with a search bind cache and during the compare phase with two operation caches Each LDAP URL that is used by the server has its own set of these three caches The Search Bind Cache The process of doing a search and then a bind is the most time consuming aspect of LDAP operation especially if the directory is large The search bind cache is used to cache all searches that resulted in successful binds Negative results i e unsuccessful searches or searches that did not result in a successful bind are not cached The rationale behind this decision is that connections with invalid credentials are only a tiny percentage of the total number of connections so by not caching invalid credentials the size of the cache is reduced mod ldap stores the username the DN retrieved the password used to bind and the time of the bind in the cache Whenever a new connection is initiated with the same username mod ldap compares the password of the new connection with the password in the cache If the passwords match and if the cached entry is not too old mod ldap bypasses the search bind phase The search and bind cache is controlled with the LDAPCacheEntries and LDAPCacheTTL directives Operation Caches During attribute and distinguished name comparison functions mod ldap uses two operation caches to cache the compare operations The first compare cache is used to cache the results of compares done to test for LDAP group membership The second compare cache is used to cache the results of comparisons done between distinguished names The behavior of both of these caches is controlled with the LDAPOpCacheEntries and LDAPOpCacheTTL directives Monitoring the Cache mod ldap has a content handler that allows administrators to monitor the cache performance The name of the content handler is ldap status so the following directives could be used to access the mod ldap cache information Location server cache info SetHandler ldap status Location By fetching the URL http servername cache info the administrator can get a status report of every cache that is used by mod ldap cache Note that if Apache does not support shared memory then each httpd instance has its own cache so reloading the URL will result in different information each time depending on which httpd instance processes the request Using SSL The ability to create an SSL connections to an LDAP server is defined by the directives LDAPTrustedCA and LDAPTrustedCAType These directives specify the certificate file or database and the certificate type Whenever the LDAP url includes ldaps mod ldap will establish a secure connection to the LDAP server Establish an SSL LDAP connection Requires that mod ldap and mod auth ldap be loaded Change the yourdomain example com to match your domain LDAPTrustedCA certs certfile der LDAPTrustedCAType DER FILE Location ldap status SetHandler ldap status Order deny allow Deny from all Allow from yourdomain example com AuthLDAPEnabled on AuthLDAPURL ldaps 127 0 0 1 dc example

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

  • mod_log_config - Apache HTTP Server
    h u r s b or it can indicate conditions for inclusion of the item which will cause it to be replaced with if the condition is not met The forms of condition are a list of HTTP status codes which may or may not be preceded by Thus 400 501 User agent i logs User agent on 400 errors and 501 errors Bad Request Not Implemented only 200 304 302 Referer i logs Referer on all requests which did not return some sort of normal status Note that in httpd 2 0 versions prior to 2 0 46 no escaping was performed on the strings from r i and o This was mainly to comply with the requirements of the Common Log Format This implied that clients could insert control characters into the log so you had to be quite careful when dealing with raw log files For security reasons starting with 2 0 46 non printable and other special characters are escaped mostly by using x hh sequences where hh stands for the hexadecimal representation of the raw byte Exceptions from this rule are and which are escaped by prepending a backslash and all whitespace characters which are written in their C style notation n t etc Some commonly used log format strings are Common Log Format CLF h l u t r s b Common Log Format with Virtual Host v h l u t r s b NCSA extended combined log format h l u t r s b Referer i User agent i Referer log format Referer i U Agent Browser log format User agent i Note that the canonical ServerName and Listen of the server serving the request are used for v and p respectively This happens regardless of the UseCanonicalName setting because otherwise log analysis programs would have to duplicate the entire vhost matching algorithm in order to decide what host really served the request Security Considerations See the security tips document for details on why your security could be compromised if the directory where logfiles are stored is writable by anyone other than the user that starts the server CookieLog Directive Description Sets filename for the logging of cookies Syntax CookieLog filename Context server config virtual host Status Base Module mod log config Compatibility This directive is deprecated The CookieLog directive sets the filename for logging of cookies The filename is relative to the ServerRoot This directive is included only for compatibility with mod cookies and is deprecated CustomLog Directive Description Sets filename and format of log file Syntax CustomLog file pipe format nickname env environment variable Context server config virtual host Status Base Module mod log config The CustomLog directive is used to log requests to the server A log format is specified and the logging can optionally be made conditional on request characteristics using environment variables The first argument which specifies the location to which the logs will be written can take one of the following two types of values

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

  • mod_logio - Apache HTTP Server
    of requests and responses The counting is done before SSL TLS on input and after SSL TLS on output so the numbers will correctly reflect any changes made by encryption This module requires mod log config Directives This module provides no directives Topics Custom Log Formats See also mod log config Apache Log Files Custom Log Formats This modules adds two new logging directives The characteristics of the request itself

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



  •