From ba4174bc69a02f1a5870d03cbc6fe01bce030994 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Sun, 30 Dec 2001 15:34:13 +0000 Subject: [PATCH] Cleanup new directives in mod_include. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92666 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_include.html | 184 ++++++++++++++++--------------- 1 file changed, 97 insertions(+), 87 deletions(-) diff --git a/docs/manual/mod/mod_include.html b/docs/manual/mod/mod_include.html index e12b2cacb6..7820f6d230 100644 --- a/docs/manual/mod/mod_include.html +++ b/docs/manual/mod/mod_include.html @@ -38,11 +38,11 @@

Directives

See also: Options, -

XBitHack - directive

- - Syntax: XBitHack - on|off|full
- Default: XBitHack - off
- SSIEndTag directive Syntax: SSIEndTag tag
Default: SSIEndTag + "-->"
Context: server config, virtual - host, directory, .htaccess
- Override: Options
- Status: Base
- Module: mod_include - -

The XBitHack directives controls the parsing of ordinary - html documents. This directive only affects files associated - with the MIME type text/html. XBitHack can take on - the following values:

- -
-
off
- -
No special treatment of executable files.
+ host
Status: Base
Module: mod_include -
on
- -
Any text/html file that has the user-execute bit set will - be treated as a server-parsed html document.
- -
full
+

This directive changes the string that mod_include looks for + to mark the end of a include command.

-
- As for on but also test the group-execute bit. - If it is set, then set the Last-modified date of the - returned file to be the last modified time of the file. If - it is not set, then no last-modified date is sent. Setting - this bit allows clients and proxies to cache the result of - the request. +

See also: SSIStartTag.

-

Note: you would not want to use the full - option, unless you assure the group-execute bit is unset for - every SSI script which might #include a CGI - or otherwise produces different output on each hit (or could - potentially change on subsequent requests).

-
-

SSIErrorMsg directive

- - Syntax: SSIErrorMsg - "text for error message"
+ message
Default: SSIErrorMsg "[an error occurred while processing this directive]"
@@ -561,73 +528,116 @@ Module: mod_include -

The SSIErrorMsg directive changes the error message displayed when - mod_include encounters an error. For production servers you may consider - changing the default error message to "<-- Error -->" - so that the message is not presented to the user. +

The SSIErrorMsg directive changes the error message displayed + when mod_include encounters an error. For production servers you + may consider changing the default error message to + "<-- Error -->" so that the message + is not presented to the user.

+

This directive has the same effect as the <--#config + errmsg=message --> element.


-

SSITimeFormat +

SSIStartTag directive

- Syntax: SSITimeFormat - formatString
+ rel="Help">Syntax: SSIStartTag + tag
Default: SSITimeFormat - "%A, %d-%b-%Y %H:%M:%S %Z"
+ rel="Help">Default: SSIStartTag + "<--!"
Context: server config, virtual - host, directory, .htaccess
+ host
Status: Base
Module: mod_include -

This directive changes the format in which date strings are displayed - in note variables

+

This directive changes the string that mod_include looks for + to mark an include element to process.

+ +

You may want to use this option if have 2 servers parsing the + output of a file each processing different commands (possibly at + different times).

+ +

See also: SSIEndTag.

+
-

SSIStartTag +

SSITimeFormat directive

- Syntax: SSIStartTag - tag
+ rel="Help">Syntax: SSITimeFormat + formatstring
Default: SSIStartTag - "<--!"
+ rel="Help">Default: SSITimeFormat + "%A, %d-%b-%Y %H:%M:%S %Z"
Context: server config, virtual - host
+ host, directory, .htaccess
Status: Base
Module: mod_include -

This directive changes the string that mod_include looks for - to mark a include command to process

-

you may want to use this option if have 2 servers parsing the output of a file - each processing different comnmands (possibly at different times)

+

This directive changes the format in which date strings are displayed + when echoing DATE environment variables. The formatstring + is as in strftime(3) from the C standard library.

+ +

This directive has the same effect as the <--#config + timefmt=formatstring --> element.

+
-

SSIEndTag +

XBitHack directive

- - Syntax: SSIEndTag - tag
+ Syntax: XBitHack + on|off|full
Default: SSIEndTag - "-->"
+ rel="Help">Default: XBitHack + off
Context: server config, virtual - host
+ host, directory, .htaccess
+ Override: Options
Status: Base
Module: mod_include -

This directive changes the string that mod_include looks for - to mark the end of a include command

+

The XBitHack directives controls the parsing of ordinary + html documents. This directive only affects files associated + with the MIME type text/html. XBitHack can take on + the following values:

+ +
+
off
+ +
No special treatment of executable files.
+ +
on
+ +
Any text/html file that has the user-execute bit set will + be treated as a server-parsed html document.
+ +
full
+ +
+ As for on but also test the group-execute bit. + If it is set, then set the Last-modified date of the + returned file to be the last modified time of the file. If + it is not set, then no last-modified date is sent. Setting + this bit allows clients and proxies to cache the result of + the request. + +

Note: you would not want to use the full + option, unless you assure the group-execute bit is unset for + every SSI script which might #include a CGI + or otherwise produces different output on each hit (or could + potentially change on subsequent requests).

+
+
+

-- 2.40.0