1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-14 01:22:37 +03:00
Commit Graph

70 Commits

Author SHA1 Message Date
Mike Rumph
2ab48f75ac Fix spelling and grammar errors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1600539 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 23:30:52 +00:00
Christophe Jaillet
a5f600973a Fix r1593665 where I miss read the code and what is performed in "header_inout_cmd()" where arguments are "shuffled" according to the "action" to be performed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1599794 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 20:43:41 +00:00
Christophe Jaillet
e415edbd62 - 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1593665 13f79535-47bb-0310-9956-ffa450edef68
2014-05-10 05:49:43 +00:00
Eric Covener
7b95131a35 expr=value updates:
update RequestHeader syntax, 
 add compat to Header and RequestHeader


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1588747 13f79535-47bb-0310-9956-ffa450edef68
2014-04-20 13:13:15 +00:00
Christophe Jaillet
17eb9175b8 Add <compatibility> notes for changes made in version 2.4.7 + synch formating with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1587097 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 21:03:53 +00:00
Christophe Jaillet
bff39090cd Add <compatibility> notes for changes made in version 2.4.4 + synch formating with 2.4.x
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586471 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 21:07:08 +00:00
Eric Covener
421629217c This C-T: limitation was removed in 2.2.12 and retconned into CHANGES much later.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586437 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 19:29:33 +00:00
Eric Covener
df389cdeb1 provide an expression parser example that can control based on http status code,
rather than just excluding locally generated errors.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1584081 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:21:37 +00:00
Eric Covener
7f73f8d8eb try to clarify that "onsuccess" is for anything but locally-generated errors,
the module behavior and the doc are equally painful for users.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1584078 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:10:50 +00:00
Eric Covener
b30590b901 fix compatibility info for "setifempty".
http://httpd.apache.org/docs/2.4/mod/mod_headers.html#comment_2245



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1571471 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 22:37:43 +00:00
Eric Covener
d5174b9fcd If the "value" argument is prefixed with expr=, parse it with ap_expr
rather than mod_headers' built-in format strings.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1546801 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 11:23:22 +00:00
Lucien Gentis
8351cb2d5f /. Initialisations
if (! laCouleurFond) setCouleurFond(MENU_POPUP_COULEUR_FOND); else setCouleurFond(laCouleurFond);


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 14:33:57 +00:00
Daniel Ruggeri
ffdb1b50a1 Allow for format specifiers to be used in the base substitution string for Header edit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1535788 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 17:16:46 +00:00
Eric Covener
46d97009e1 add "Header note" which was the solution for two users this week on IRC.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520908 13f79535-47bb-0310-9956-ffa450edef68
2013-09-08 20:04:06 +00:00
Eric Covener
1c3427493e provide a simple (no <If>) way to set a header only if it's not already there.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496338 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 02:20:36 +00:00
Jim Jagielski
66b958c7ff Document new mod_headers params: %l, %i, %b
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1389569 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 20:55:17 +00:00
Rainer Jung
f0e238dbfa Fix mod_headers documentation:
- add expr= to syntax rule
- add optional replacement argument to Header syntax
- add "edit*" command to Header syntax
- add "edit*" explanation to Header directive


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371903 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 10:25:46 +00:00
Daniel Gruno
1baf5c7f13 Syntax updates for mod_h*.xml, mod_i*.xml
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331006 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 18:16:48 +00:00
Takashi Sato
9a429c5503 Fix the request/response header error
Submitted by: INOUE Seiichiro <inoue ariel-networks.com>	


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231446 13f79535-47bb-0310-9956-ffa450edef68
2012-01-14 07:33:30 +00:00
Stefan Fritsch
6c57e61b1b Unify syntax of config directives taking an expression as optional contition argument
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1197413 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 07:27:07 +00:00
Jim Jagielski
69c1a5c854 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174747 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:36:39 +00:00
Lucien Gentis
60bad7a068 Typos.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053666 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 16:18:54 +00:00
Lucien Gentis
15c4eb2d40 Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053655 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 15:43:54 +00:00
Eric Covener
5af1334609 mention my flip-flop on "Header always" to not add additional confusion to
someone treading in this area, and plan to remove after GA.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053526 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:38:28 +00:00
Eric Covener
ca0e91b4bc PR50525: Header always ... doesn't really mean "always" in terms of what you
can edit/merge/append/set since it only looks at r->err_headers_out and
the initial value may have lived in r->headers_out.




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053523 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:32:23 +00:00
Eric Covener
7a76afb8b3 revert r1031670:
Change the default of the Header directive to apply to responses of all types
    instead of just 2xx successful responses.

This turned out to be do more harm than good for anything other 
than "set", since "always" doesn't ever see/operate on existing 
r->headers_out headers -- just err_headers_out. 

I think onsuccess needs to remain the default and this needs to move into a 
doc revamp.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1053516 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:08:44 +00:00
Eric Covener
c145eb760d Change the default of the Header directive to apply to responses of all types
instead of just 2xx successful responses.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031670 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 17:20:31 +00:00
Eric Covener
c93da3dfe4 doc updates around why a few directives can't set arbitrary Content-Types for
non-static responses.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@990109 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 11:50:20 +00:00
Eric Covener
f1df6e6e13 emphasize request/response in the timing description, easy to miss the significance
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@946617 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:10:50 +00:00
Eric Covener
28ebfde801 PR49308: Header directive doesn't see CGI-issued headers because they live in err_headers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@946616 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:08:06 +00:00
Daniel Earl Poirier
2ce7edc9bb Clarify references to arguments in the Header directive documentation.
(The first argument is optional, so referring to any argument by
absolute position is ambiguous).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@899254 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 15:48:04 +00:00
Nick Kew
76ea26f7a0 mod_headers: Enable multi-match-and-replace edit option
PR 47066


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894036 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 00:05:12 +00:00
Nilgun Belma Buguner
523134dfb8 fix validation error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@826164 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 02:38:38 +00:00
Eric Covener
fc84ba8cee mention that "Header onsuccess" is the default and reword the description
of "Header always" to talk less about implementation details and more about
the FAQ of redirects or 401's.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@826005 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 17:03:55 +00:00
Nick Kew
165dc73d4d mod_headers: generalise the envclause to support conditional
header rules via ap_expr.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@808240 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:02:42 +00:00
Daniel Earl Poirier
0d31b52105 Clarification on unit of measure of %D in mod_headers
PR: 47707
Reported by: Paschal Nee <pnee toombeola.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@805754 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 11:36:24 +00:00
Lucien Gentis
477355f136 headers replaced by directives line 48
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@746540 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 16:57:09 +00:00
Takashi Sato
c73a91e509 fix XML errors of r723560
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724007 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 16:51:28 +00:00
Rich Bowen
cca2d66b12 Put the arguments to Header, RequestHeader, in alphabetic order.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723560 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 02:14:22 +00:00
Rich Bowen
8489889ed2 I have finally been asked one too many times whether the 'foobar' in
these documents represents the literal string 'foobar'. I think that
this might prove a little clearer, and require just that one little bit
less explanation.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@723557 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 02:04:39 +00:00
Chris Darroch
169e22c568 add merge option to avoid duplicate values within the same header
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@568323 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 23:22:00 +00:00
Chris Darroch
3d51f859bd Fix some typos, whitespace, and formatting. Make sure all options are
listed in appropriate locations.  Deprecate "add" in favour of "set"
throughout.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@568283 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 21:05:46 +00:00
Joshua Slive
e1c5534f07 Remove misleading compat info.
PR: 38819


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@561458 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 19:40:15 +00:00
Chris Darroch
768125a6b3 fixed missing "edit" argument option in mod_headers.xml
described "edit" option to mod_headers in new features


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@462917 13f79535-47bb-0310-9956-ffa450edef68
2006-10-11 19:44:05 +00:00
Nick Kew
4034b23cc0 Support regexp-based manipulation of HTTP headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@452330 13f79535-47bb-0310-9956-ffa450edef68
2006-10-03 07:41:27 +00:00
Roy T. Fielding
44fa6e0073 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420990 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:55:32 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Joshua Slive
2b1d0579cb Add some <glossary> markup for regular expression and regex.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290723 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 15:21:09 +00:00
Justin Erenkrantz
905cdf9f0b Update copyright year to 2005 and standardize on current copyright owner line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
André Malo
9ade04f57c fix copyright notice
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125277 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 17:01:17 +00:00