- Aug 30, 2001
-
-
William A. Rowe Jr authored
Since the mod_mime patch was applied, here is the rest of the patch to introduce the ForceType and SetHandler [absolute references] directly into the very top of the fixups phase. This means these will always override _any_ mime module, not just mod_mime. Ergo, other mime modules can continue to set charset, encodings, etc. Since these are globals, they belong in the core. This highlights a very serious drawback to the type_checker hook. By using run first, a module that identifies _partial_ information (maybe just the content type) won't pass the query on to other modules, like mod_mime, that might further define the encoding or charset. The type_checker hook should clearly become a run-all, and the modules should decline if they see someone ahead of them answered a question they were going to try to figure. Which means - if type_checker becomes RUN_ALL - this new override hook fn should become a type_checker again - and RUN_REALLY_FIRST, and let other modules _choose_ not to override this election. (We can run it again at the end, for a recount ;) Votes? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90797 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix mod_mime skipping over mime.types when some _other_ field was set with mod_mime, but not AddType. Why is everybody always breaking my local CHANGES file ;-? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90796 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90795 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
making a new filter type, AP_FTYPE_CACHE. We need to run CACHE_IN immediately after the handlers are done and before we run the content through any filters. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90794 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
Keep track of the number of body bytes written to the cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90793 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
1. Change CACHE_TYPE_MALLOC to CACHE_TYPE_HEAP 2. Enable cacheing content contained in multiple brigades 3. Don't cache an entry more than once. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90792 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
-X doesn't exist anymore. Submitted by: Aaron Bannert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90790 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
code. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90789 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 29, 2001
-
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90788 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90785 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
files only. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90783 13f79535-47bb-0310-9956-ffa450edef68
-
Martin Kraemer authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90781 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
I've had a couple of emails from users using mod_usertrack for authentication. Add the equivalent of a "warning: coffee may be hot" label, and fix a broken email address at the same time. Submitted by: Mark Cox git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90780 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 28, 2001
-
-
Graham Leggett authored
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90777 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90776 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
mod_auth_ldap. This allows you to use mod_include to embed specified user attributes in a page like so: Hello <!--#echo var="AUTHENTICATE_CN"-->, how are you? PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90775 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90774 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix a typo for documentation consistency. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90773 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
script it generates shouldn't expect to find a modules directory. Also, tee binbuild's output into build.log (rather than redirect it) so you can see what's going on with the build. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90772 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
transaction pools once, and re-use them for each connection. Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90771 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
Submitted by: Karl Fogel <kfogel@collab.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90769 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
This is the same granularity of control as mod_mime gave to set handlers (and now AddInputFilter and AddOutputFilter by extension) so this seems entirely appropriate in the core as well. Options FileInfo is required to change the processing behavior of files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90760 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Also in the prior commit (1.338) *) Modfied mod_mime to prevent mod_negotation from serving a multiview of a 'handler' or 'filter', so that any filename extension that does not contribute to the negotiated metadata can't be served without an explicit request. E.g., if the .Z extension is associated with an unzip filter, the user request somefile.Z.html, mod_negotiation won't serve it. It can serve somefile.Z.html when somefile.Z is requested, since the .Z extension is explictly requested, if the .html extension is associated with ContentType text/html. See changes for a complete description. Because (in the example) the .Z extension doesn't affect negotiated behavior, the files index.html and index.Z.html couldn't be distinguished, and the user would get an error 406 NOT ACCEPTABLE, which is the _wrong_ answer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90759 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Someone pointed out that we were running the images through the INCLUDE filter. This fixes it, in a sort of hackish way. I don't remember who noticed this, sorry :( git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90758 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Version 1.338 of mod_mime also tightened the mod_negotiation behavior. See changes for a complete description. Because (in the example) the .Z extension doesn't affect negotiated behavior, the files index.html and index.Z.html couldn't be distinguished, and the user would get an error 406 NOT ACCEPTABLE, which is the _wrong_ answer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90757 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Introduces mod_mime AddInputFilter and AddOutputFilter filter ext syntax. Significantly refactored the code to maintain single functions for the add_extension_info hash and remove_extension_info table processing. The AddInputFilter/AddOutputFilter could have been plural, as they accept a semicolon delimited list of filters (e.g. you need to stack two different filters based on a single extension.) I expect that the plural could confuse users, though, as they might expect AddInputFilters foo bar var to add foo and bar to the extension var, which it definately doesn't do! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90756 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Clip a duplicate appearance git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90755 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
This small patch I committed last week broke the transparent negotiation behavior. I hope this is now settled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90754 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 27, 2001
-
-
Ryan Bloom authored
fdqueue functions in a different way. Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90749 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
As the worker MPM is really an alternative to the threaded MPM (and hopefully it'll be a replacement), the httpd.conf settings are identical. Submitted by: Aaron Bannert <aaron@clove.org> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90738 13f79535-47bb-0310-9956-ffa450edef68
-
Victor J. Orlikowski authored
code waited to start until the second pass (assuming we were just starting up) to open the log file. Also fix a typo. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90737 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
keepalive requests. We were allocating a brigade out of the connection pool; the number of these brigades allocated per connection was theoretically unlimited. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90736 13f79535-47bb-0310-9956-ffa450edef68
-
Paul J. Reder authored
Moved split_and_pass_pretag_buckets back to being a macro at Ryans's request. Removed the return from it by setting and returning a return code instead. Updated the code to check the return code from teh macro and do the right thing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90735 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
apr_parse_addr_port() assumes that if there is just a number it must be a port, but here we need to assume that it is a host. todo: pass a flag into apr_parse_addr_port()? unclear whether or not that is cleaner overall git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90734 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90733 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
- make code more perlish. - read and parse the config file only once - use a hash instead of array for the list of internal config vars to test against - added -h option (just print usage) - wrapped numerous print STDERR calls into a simpler error() and notice() subs - simplified some of the logic in if's using perl constructs. Submitted by: Stas Bekman <stas@stason.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90732 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Solve a bug I introduced this weekend, we want to compare core_*->r as a boolean, not by value. Reported by: Barrie Slaymaker <barries@slaysys.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90729 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
about what to do with different request methods. It's true that mod_include in 1.3.x did not allow POST, but back then it was a handler. Now it's a filter and can be used to filter the output of dynamically generated responses, even ones resulting from a POST request. So if mod_include is in the filter stack, it should just blindly parse the brigade regardless of request method. This still fixes the security problem, it just fixes it by being more flexible rather than less so. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90728 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
for mod_include. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90727 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
return a value? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90726 13f79535-47bb-0310-9956-ffa450edef68
-