Annotation of embedaddon/lighttpd/doc/config/conf.d/ssi.conf, revision 1.1.1.2
1.1 misho 1: #######################################################################
2: ##
1.1.1.2 ! misho 3: ## Server Side Includes
1.1 misho 4: ## -----------------------
5: ##
1.1.1.2 ! misho 6: ## See http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSSI
1.1 misho 7: ##
8: server.modules += ( "mod_ssi" )
9:
10: ##
11: ## which extensions should be ran through mod_ssi.
12: ##
13: ssi.extension = ( ".shtml" )
1.1.1.2 ! misho 14:
! 15: ##
! 16: ## The ssi.conditional-requests directive only affects requests
! 17: ## handled by the SSI module and allows to declare which SSI pages
! 18: ## are cacheable and which are not. This directive can be enabled
! 19: ## or disabled globally and/or in any context.
! 20: ##
! 21: ## As the name of this directive suggests, conditional requests will
! 22: ## be handled appropriately for any SSI page for which the directive
! 23: ## is enabled. In particular, the "ETag" and "Last-Modified" headers
! 24: ## will both be sent. Conversely, these headers will NOT be sent for
! 25: ## pages for which the directive is disabled.
! 26: ##
! 27: ## The directive should be set to "enable" ONLY for requests that are
! 28: ## known to generate cacheable documents. An SSI page which only
! 29: ## includes contents from other static files and/or which uses SSI
! 30: ## commands that produce predictable output (e.g. the echo command
! 31: ## for the LAST_MODIFIED variable) is likely to be cacheable.
! 32: ##
! 33: ## The directive should be set to "disable" for ALL other documents,
! 34: ## that is, for SSI pages which depend on non-predictable input such
! 35: ## as (but not limited to) output from ssi exec commands, data from
! 36: ## the client's request headers (other than the request URI), or any
! 37: ## other non constant input such as the current date or time, the
! 38: ## client's user-agent, etc...
! 39: ##
! 40: ## Disabled by default.
! 41: ##
! 42: ## For further explanation of conditional requests, please see
! 43: ## Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
! 44: ## https://tools.ietf.org/html/rfc7232
! 45: ##
! 46: #ssi.conditional-requests = "enable"
1.1 misho 47:
48: ##
49: #######################################################################
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>