httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1593664 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml
Date Sat, 10 May 2014 05:43:33 GMT
Author: jailletc36
Date: Sat May 10 05:43:33 2014
New Revision: 1593664

URL: http://svn.apache.org/r1593664
Log:
- Add missing links
- Fix extra ] spotted in online doc by emigas.
- Remove another ] introduced in Hearder syntax in r1588244
- s/variable/varname/ to match the text below it.
- Turn the syntax of both Header and RequestHeader to be:
   header [value [replacement [early|env=[!]variable|expr=expression]]] 
in order to match the code.
This removes the ambiguity of expr=<something> which can now be used in 2 different
places in the syntax.
- Also remove the space in 'expr= value' in compatibility note, to help distinguish between
the two

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml?rev=1593664&r1=1593663&r2=1593664&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_headers.xml Sat May 10 05:43:33 2014
@@ -74,7 +74,8 @@ RequestHeader unset MirrorID
     configuration is traversed, early headers can only be set in a
     main server or virtual host context.  Early directives cannot depend
     on a request path, so they will fail in contexts such as
-    <code>&lt;Directory&gt;</code> or <code>&lt;Location&gt;</code>.</p>
+    <directive type="section" module="core">Directory</directive> or
+    <directive type="section" module="core">Location</directive>.</p>
 </section>
 
 <section id="examples"><title>Examples</title>
@@ -200,13 +201,13 @@ Header merge Cache-Control no-store env=
 <name>RequestHeader</name>
 <description>Configure HTTP request headers</description>
 <syntax>RequestHeader add|append|edit|edit*|merge|set|setifempty|unset
-<var>header</var> [[expr=]<var>value</var>] [<var>replacement</var>]
-[early|env=[!]<var>variable</var>]|expr=<var>expression</var>]
+<var>header</var> [[expr=]<var>value</var> [<var>replacement</var>
+[early|env=[!]<var>varname</var>|expr=<var>expression</var>]]]
 </syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>FileInfo</override>
-<compatibility>SetIfEmpty available in 2.4.7 and later, expr= value 
+<compatibility>SetIfEmpty available in 2.4.7 and later, expr=value 
 available in 2.4.10 and later</compatibility>
 
 <usage>
@@ -311,13 +312,13 @@ available in 2.4.10 and later</compatibi
 <name>Header</name>
 <description>Configure HTTP response headers</description>
 <syntax>Header [<var>condition</var>] add|append|echo|edit|edit*|merge|set|setifempty|unset|note
-<var>header</var> [[expr=]<var>value]</var>] [<var>replacement</var>]
-[early|env=[!]<var>variable</var>]|expr=<var>expression</var>]
+<var>header</var> [[expr=]<var>value</var> [<var>replacement</var>
+[early|env=[!]<var>varname</var>|expr=<var>expression</var>]]]
 </syntax>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>FileInfo</override>
-<compatibility>SetIfEmpty available in 2.4.7 and later, expr= value 
+<compatibility>SetIfEmpty available in 2.4.7 and later, expr=value 
 available in 2.4.10 and later</compatibility>
 
 <usage>



Mime
View raw message