pepponの日記 このページをアンテナに追加 RSSフィード

2007-05-02

mod_layout 5.0のマニュアルないのでメモ

LayoutCacheNeeded

This directives makes sure that all Layout headers and footers get Cache-Control: no-cache methods in all situations. This directive either takes On or Off.

ヘッダー Cache-Contro:no-cache

LayoutHeader

A URI which prints the header contents.

ヘッダー

LayoutFooter

A URI which prints the footer contents.

フッター

Layout

Add a layout to be inserted when a tag is found, this takes two options, with a third optional parameter. The first is a pattern, the second is the layout and the third is how the layout should be inserts (either prepend, append, or replace). The default is to replace.

タグねタグ

パターン,レイアウト,レイアウト(option)

置換(replaced、デフォルト)か、追加(prepend)

LayoutHandler

"Enter either a mime type or a handler type. This type will then be handled by mod_layout."

LayoutIgnoreURI

Enter a URI that should be ignored, regular expressions are allowed.

LayoutIgnoreURI *.cgi

LayoutIgnoreURI *.pl

LayoutIgnoreURI *.hdml

みたいな?

LayoutIgnoreHeaderURI

"Enter a URI that should be ignored by the header, regular expressions

are allowed."

LayoutIgnoreHTTPHeaderURI

"Enter a URI that should be ignored by the HTTPHeader, regular expressions are allowed."

LayoutIgnoreFooterURI

"Enter a URI that should be ignored by the footer, regular expressions are allowed."

LayoutComment

"This can either be On or Off (default it Off). It places HTML comments in the outbound text describing when and where mod_layout has been inserting text."

LayoutProxy

"This can either be On or Off (default it Off). This is both experimental and probably quite broke."

LayoutDisplayOriginal

"This can either be On or Off (default it On). When off the original document is not displayed."

LayoutDefaultHandlers

"Turns On (default) or Off a list of standard types to handle."

LayoutTimeFormat

"This takes a SSI style timme format that can be used to change the output by mod_layout's internal TIME environmental variables that it introduces."

LayoutHTTPHeader

"Takes a URI to call for the HTTP Header."

LayoutHTTPOverrideHandler

"Specify handlers that mod_layout should produce HTTP headers for."

LayoutHTTPOverrideURI

"Specify URI's that mod_layout should produce HTTP headers for."

LayoutFooterOff

"This takes no arguments. If found it will turn off the footer."

LayoutHeaderOff

"This takes no arguments. If found it will turn off the header."

LayoutHTTPHeaderOff

"This takes no arguments. If found it will turn off the http header."

LayoutPostAsync

"Turns on and off asynchronous POSTs (AKA everything can see the post data)."

LayoutCache

"This moves the default cache from /tmp to another directory(or a RAM disk)."

LayoutAppend

"Turning this On or Off afffects whether or not headers and footers are appended when creating subsections."

LayoutMerge

"Turning this on and off will tell mod_layout to attempt to resolve conten (do a merger of the footer, body and header text"

<body></body>前後か、ファイルの前後か?

使うとエラー5.0にはなす

LayoutMergeBeginTag

"Use this to change the default begin tag to use during merges (the default string is \"<HTML>\""

LayoutMergeEndTag

"Use this to change the default end tag to use during merges (the default string is \"<\\HTML>\""

LayoutHeaderAppend

"Use this to change the default end tag to use during merges (the default string is \"<\\HTML>\""

LayoutFooterAppend

"Use this to change the default end tag to use during merges (the default string is \"<\\HTML>\""

LayoutMergeErrorIgnore

"When enabled (it takes on and off flags) mod_layout will not try to wrap any errors. Merge must be enabled for this to work. The default for this is off."

LayoutIgnoreTag

"If this tag is found during a merge, no footer or header will be inserted into the document"

LayoutIgnoreTagFooter

"If this tag is found during a merge, no footer will be inserted into the document"

LayoutIgnoreTagHeader

"If this tag is found during a merge, no header will be inserted into the document"

LayoutHTMLHandler

"This turns on mod_layout's own text/html and text/plain handler"

LayoutReplaceTags

"If this is enabled and you are doing a merge, the tags used for the merge will be replaced."

LayoutNotes

"If you want applications to do notes (a set of directives to control actions inside apache)."

utility.cの"<"を別のに変えたりいろいろするとはてなキーワード埋め込みとかアプリ側でやらなくてもできそうな感じ。

Apache 2.2の場合Filter経由かも

LAYOUTディレクティブ指定しても表示されないとかはFilter関係を疑うといいかも。

AddOutputFilter LAYOUT html cgi
Connection: close