1
0
mirror of https://github.com/apache/httpd.git synced 2025-11-05 05:30:39 +03:00
Commit Graph

51 Commits

Author SHA1 Message Date
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
André Malo
4ac4e5a1e3 $Revision$ is slightly misdocumented (only available since svn 1.1)
use LastChangedRevision instead


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105989 13f79535-47bb-0310-9956-ffa450edef68
2004-11-20 18:42:58 +00:00
André Malo
3b900e6993 adjust properties and revision expansion of the English docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105981 13f79535-47bb-0310-9956-ffa450edef68
2004-11-20 17:06:17 +00:00
Nick Kew
0ebb8b9b9a Implement "Early" mode in mod_headers, and document it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104170 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 04:49:45 +00:00
André Malo
a7fe60b59c describe the onsuccess and always options better
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103929 13f79535-47bb-0310-9956-ffa450edef68
2004-06-12 14:17:05 +00:00
André Malo
e42f79e223 document dropped ErrorHeader directive -> extended Header directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103922 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 21:57:04 +00:00
André Malo
9ae45a3ba6 describe the recent changes to mod_headers (%%, envclause everywhere)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103447 13f79535-47bb-0310-9956-ffa450edef68
2004-04-18 20:31:12 +00:00
André Malo
f08df46e89 add $Revision$ keyword
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103423 13f79535-47bb-0310-9956-ffa450edef68
2004-04-17 10:49:23 +00:00
André Malo
0f977725cb document ErrorHeader directive
(more or less taken from 1.3)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103273 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 18:13:15 +00:00
André Malo
8e625b3a65 document new RequestHeader behaviour
PR: 27951
Submitted by: vincent gryzor.com (Vincent Deffontaines)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103270 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 17:55:58 +00:00
Joshua Slive
5ebff1f060 Forward port:
Add <columnspec> and make a couple other very small changes
  to let latex render tables a little better.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103244 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:00:27 +00:00
Joe Orton
2dbe458064 Document the %s format specifier.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102816 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 23:24:58 +00:00
André Malo
b68721ed3a fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102617 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:22:54 +00:00
André Malo
f4bd111108 apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102532 13f79535-47bb-0310-9956-ffa450edef68
2004-02-07 15:12:30 +00:00
Joshua Slive
20deaccf3e Hit a couple files that hadn't been adapted to account
for the move from <Directory proxy:> to <proxy>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100748 13f79535-47bb-0310-9956-ffa450edef68
2003-07-23 19:36:36 +00:00
André Malo
94fc883415 add the metafile attribute to all xml files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99326 13f79535-47bb-0310-9956-ffa450edef68
2003-04-11 01:25:58 +00:00
André Malo
5abb2200e4 - fix bogus example regex
- update transformation


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97514 13f79535-47bb-0310-9956-ffa450edef68
2002-11-14 05:40:00 +00:00
André Malo
86ceb35f60 - <em> -> <var>
- reformatting + adding markup
- add optional env=[!]variable to formal syntax definition
- fix processing order (<Location> after <Files>)
- turn bogus <ul>s to <dl>
- add table border

- nothing else ;-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97513 13f79535-47bb-0310-9956-ffa450edef68
2002-11-14 05:28:04 +00:00
Yoshiki Hayashi
f05eb5e89b Mark up argument in Request Header directive with <em> as in Header directive.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96543 13f79535-47bb-0310-9956-ffa450edef68
2002-08-27 11:04:26 +00:00
Joshua Slive
68adf9ffbd Update the stylesheet reference to the new language-specific version.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95244 13f79535-47bb-0310-9956-ffa450edef68
2002-05-23 14:50:12 +00:00