X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fhttp.ini;h=932ee31dbcf2112e15afc5f5d60ef0b9910f55b8;hb=6991b7214b3647780be00917c069db46d46b0484;hp=73c909c0c62ad22ca3e4ccfa7eca001e44cf7445;hpb=8cecb41c617a9db18668906800f9509a3e3d0243;p=m6w6%2Fext-http diff --git a/docs/http.ini b/docs/http.ini index 73c909c..932ee31 100644 --- a/docs/http.ini +++ b/docs/http.ini @@ -3,28 +3,53 @@ [http] ; enable if you want to transform all errors to exceptions (PHP >= 5 only) -http.only_exceptions = 0 +;http.only_exceptions = 1 -; the hashing algorithm with wich ETags are generated -; you can use mhash constants if ext/mhash is enabled, or their -; literal representation if ext/http was linked against libmhash -;http.etag_mode = MHASH_TIGER ; same as 7 -http.etag_mode = HTTP_ETAG_MD5 +; disable if you want php not to exit in case of redirects and cache hits +;http.force_exit = 0 + +; disable if you don't want 404 Not found status messages +; being sent, if a file attempted to be sent with +; http_send_file() etc. cannot be found +;http.send.not_found_404 = 0 + +; the hashing algorithm with wich ETags are generated (MD5, SHA1, CRC32B) +; if ext/hash is available, this can be set to any hash algorithm ext/hash supports +; MD5 is the default and fallback algorithm +http.etag.mode = "MD5" ; allowed request methods ; by default PHP ignores unkown request methods ; PHP will exit with a response status of 405 and an Allow header ; if it encounters a request method not contained in the specified list -;http.allowed_methods = "HEAD, GET, POST" +;http.request.methods.allowed = "HEAD, GET, POST" + +; custom request methods +;http.request.methods.custom = "KICK, BANN" ; log file for positive cache hits -;http.cache_log = +;http.log.cache = ; log file for redirects -;http.redirect_log = +;http.log.redirect = + +; log file for responses with http_send_file() etc. where the file's not been found +;http.log.not_found = ; log file for requests with an unallowed request method -;http.allowed_methods_log = +;http.log.allowed_methods = ; composite log file (i.e. log all messages to this file) -;http.composite_log = +;http.log.composite = + +; automatically deflate content if requested/supported by client +;http.send.deflate.start_auto = 1 +;http.send.deflate.start_flags = HTTP_DEFLATE_LEVEL_DEF + +; automatically inflate sent content +;http.send.inflate.start_auto = 0 +;http.send.inflate.start_flags = + +; global HttpRequestDataShare settings +;http.request.datashare.cookie = 0 +;http.request.datashare.dns = 1