summaryrefslogtreecommitdiff
path: root/include/http_config.h
Commit message (Collapse)AuthorAgeFilesLines
* Add AP_INIT_TAKE_ARGV. There can be some inconsistent results because of the ↵Paul Querna2005-05-041-1/+13
| | | | | | | | | | | | behavoir of ap_getword_conf. Do not rely upon any last argument that is "". If the argument is in the middle of the line, it should work correctly. This is updated from the version sent to dev@httpd to fix the behavoir with 0 arguments. * include/http_config.h: minor MMN bump for the new interface. * modules/generators/mod_autoindex.c: Migrate IndexOptions to the new ARGV command type. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168202 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_config.h: Add missing parameter name.Joe Orton2004-12-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111964 13f79535-47bb-0310-9956-ffa450edef68
* Implement -t -DDUMP_MODULES using generic test_config hook rather thanJoe Orton2004-08-171-0/+7
| | | | | | | | | | | | | | | | | | | | | hooking into mod_so from main.c: * include/http_config.h, server/config.c: Declare test_config hook. * server/main.c: Drop hooks into mod_so; run test_config hooks. * modules/mappers/mod_so.h: Drop ap_dump_loaded_modules optional function. * modules/mappers/mod_so.c (dump_loaded_modules): Renamed from ap_dump_loaded_modules; only run if -DDUMP_MODULES is defined. (register_hooks): Register test_config hook instead of optional function. Reviewed by: Justin Erenkrantz, Paul Querna git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104685 13f79535-47bb-0310-9956-ffa450edef68
* Added 'AllowOverride Options=Indexes,MultiViews' to give an admin betterPaul Querna2004-07-141-0/+4
| | | | | | | | | | control over what options can be used in .htaccess files. PR: 29310 Submitted by: Tom Alsberg <alsbergt-apache cs.huji.ac.il> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104283 13f79535-47bb-0310-9956-ffa450edef68
* Nobody objected:André Malo2004-06-041-0/+13
| | | | | | | | | | | | | | | <IfModule> now takes the module identifier in addition to the filename. CAUTION: this commit breaks the build on netware. It still needs to be adjusted. (but I don't have any netware knowledge...) Also, developers need to re-run buildconf on unices. PR: 29003 Submitted by: Edward Rudd <eddie omegaware.com>, Andr� Malo git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103849 13f79535-47bb-0310-9956-ffa450edef68
* changed the following APIs to return an error instead of hard exiting:André Malo2004-04-251-6/+8
| | | | | | | | ap_add_module, ap_add_loaded_module, ap_setup_prelinked_modules, and ap_process_resource_config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103517 13f79535-47bb-0310-9956-ffa450edef68
* ap_add_named_module is not used and maintained anymore. Drop it.André Malo2004-04-251-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103516 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first check inAndré Malo2004-02-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102548 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-061-53/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* Revert the change to the cmd_func typedef to avoid a type mismatchBradley Nicholes2003-10-311-1/+1
| | | | | | | compiler error in the Metrowerks compiler git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101636 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_config.hSander Striker2003-10-311-1/+1
| | | | | | | (cmd_func): Fix prototype, eliminate warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101630 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_config.hSander Striker2003-03-071-1/+1
| | | | | | | | | | (ap_get_module_config, ap_set_module_config): Use the macro when AP_DEBUG is _not_ defined, not the other way around. Noticed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98921 13f79535-47bb-0310-9956-ffa450edef68
* * include/http_config.hSander Striker2003-03-061-2/+1
| | | | | | | | | | | | | | | | | | | | (ap_get_module_config, ap_set_module_config): Always declare. * include/httpd.h (ap_strchr, ap_strchr_c, ap_strrchr, ap_strrchr_c, ap_strstr, ap_strstr_c): Always declare. * server/util_debug.c (ap_get_module_config, ap_set_module_config, ap_strchr, ap_strchr_c, ap_strrchr, ap_strrchr_c, ap_strstr, ap_strstr_c): Always implement and export. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98903 13f79535-47bb-0310-9956-ffa450edef68
* Allow restart of httpd to occur even with syntax errors in the configJustin Erenkrantz2003-02-171-2/+5
| | | | | | | | | | | | | | | | | | file. (Out-of-date DSOs with bad MMNs will still be fatal unfortunately.) Add return parameter to ap_process_config_tree - OK on success, !OK on syntax error. We will no longer call exit() from ap_process_config_tree. The caller must exit if there is an error (makes sense anyway). This allows the initial start-up code to delay the exit until trying to let the signal_server optional function execute first. (The chances are that the syntax error isn't in the PidFile directive. If that happens, we'll try the default one. Oh, well.) PR: 16813 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98693 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-031-1/+1
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* Style cleanup (remove tabs, fix alignment).Aaron Bannert2002-04-281-31/+57
| | | | | | | Submitted by: Thom May <thom@planetarytramp.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94837 13f79535-47bb-0310-9956-ffa450edef68
* Add a new parameter to the quick_handler hook to instructBill Stoddard2002-03-271-1/+5
| | | | | | | | | quick handlers to optionally do a lookup rather than actually serve content. This is the first of several changes required fix several problems with how quick handlers work with subrequests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94240 13f79535-47bb-0310-9956-ffa450edef68
* Typo (noticed while browsing http://docx.webperf.org/)Martin Kraemer2002-03-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93948 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.Roy T. Fielding2002-03-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
* The pre_config hook now takes a return value. This allows modules toAaron Bannert2002-01-281-1/+2
| | | | | | | cause the server to bail out under error conditions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93063 13f79535-47bb-0310-9956-ffa450edef68
* change open_logs hook to return a value, allowing you to flag a errorIan Holsman2001-11-241-2/+3
| | | | | | | | | while opening logs Obtained from: Doug MacEachern git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92149 13f79535-47bb-0310-9956-ffa450edef68
* Modify post_config hook so that it can return a error,Ian Holsman2001-11-231-1/+2
| | | | | | | | | | | | | | causing the server not to start. previous method was to call exit(1) which would not fail gracefully PR: Obtained from: Submitted by: Reviewed by: (Idea only Jeff Trawick) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92144 13f79535-47bb-0310-9956-ffa450edef68
* fix spellingCliff Woolley2001-11-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92027 13f79535-47bb-0310-9956-ffa450edef68
* Don't know why these were missing... just an oversight, I'm guessing?Cliff Woolley2001-11-181-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92026 13f79535-47bb-0310-9956-ffa450edef68
* Fix spellingCliff Woolley2001-11-181-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92025 13f79535-47bb-0310-9956-ffa450edef68
* Added Doxygen CommentsIan Holsman2001-10-021-10/+49
| | | | | | | | With these 2 changes most of the Doxygen warnings go away. (these patch just modifies comments/slight moves in typedefs, no other changes) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91229 13f79535-47bb-0310-9956-ffa450edef68
* Better doc of ap_server_root_relative()William A. Rowe Jr2001-08-231-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90583 13f79535-47bb-0310-9956-ffa450edef68
* Eliminated ap_os_[systemcase|[case_]canonical]_filename() andWilliam A. Rowe Jr2001-08-231-1/+1
| | | | | | | move ap_os_is_path_absolute() into util.c (now relies on apr.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90567 13f79535-47bb-0310-9956-ffa450edef68
* Provide an ap_set_deprecated() fn for quick-and-dirty 'we don't do this'William A. Rowe Jr2001-08-031-1/+13
| | | | | | | | | | entries in the command table. (Also fixes a nit about returning a single bit of an apr_int_64 as an int. Know how this group loves !! expresssions :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89896 13f79535-47bb-0310-9956-ffa450edef68
* Add the ability to extend the methods that Apache understandsRyan Bloom2001-08-021-1/+1
| | | | | | | | | | | | and have those methods <limit>able in the httpd.conf. It uses the same bit mask/shifted offset as the original HTTP methods such as M_GET or M_POST, but expands the total bits from an int to an ap_int64_t to handle more bits for new request methods than an int provides. Submitted by: Cody Sherr <csherr@covalent.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89869 13f79535-47bb-0310-9956-ffa450edef68
* Doxygenation.Ben Laurie2001-05-281-159/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89235 13f79535-47bb-0310-9956-ffa450edef68
* Separate enablement of AP_DEBUG code from enablement of codeJeff Trawick2001-05-131-3/+3
| | | | | | | which depends on the compiler supporting designated initializers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89103 13f79535-47bb-0310-9956-ffa450edef68
* Implement Jeff's idea for an autoconf-defined symbol to enable the specialGreg Stein2001-05-131-3/+3
| | | | | | | | | | command function prototype stuff. AP_DEBUG is always set in maintainer mode and AP_DEBUG_HAVE_GCC is set when the compiler is GCC. Submitted by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89102 13f79535-47bb-0310-9956-ffa450edef68
* Fix up some of the definitions, based on Ian's patch.Victor J. Orlikowski2001-05-111-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89088 13f79535-47bb-0310-9956-ffa450edef68
* Add the AP_DECLARE()/AP_CORE_DECLARE macros on the return types ofChuck Murcko2001-05-111-1/+1
| | | | | | | | | functions used by mod_proxy for export in DLL Submitted by: Ian Holsman <IanH@cnet.com> Reviewed by: Chuck murcko git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89078 13f79535-47bb-0310-9956-ffa450edef68
* C::Scan strikes again; include argument name in ap_invoke_handler prototypeDoug MacEachern2001-04-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88965 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_set_int_slot() functionDoug MacEachern2001-04-201-0/+12
| | | | | | | | | | PR: Obtained from: Submitted by: John K. Sterling <sterling@covalent.net> Reviewed by: dougm git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88902 13f79535-47bb-0310-9956-ffa450edef68
* We need a prototype for ap_show_mpmRyan Bloom2001-04-141-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88857 13f79535-47bb-0310-9956-ffa450edef68
* Reformat declaration so make_export.awk will recognize them. Yes, I know thisBrian Havard2001-04-021-6/+3
| | | | | | | | makes lines longer than is normally acceptable but I'd like to see anyone come up with an awk script that handles these things broken over multiple lines... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88646 13f79535-47bb-0310-9956-ffa450edef68
* Performance: Add quick_handler hook. This hook is called at theBill Stoddard2001-03-271-0/+10
| | | | | | | | | very beginning of the request processing before location_walk, translate_name, etc. This hook is useful for URI keyed content caches like Mike Abbott's Quick Shortcut Cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88596 13f79535-47bb-0310-9956-ffa450edef68
* top_module global variable renamed to ap_top_moduleDoug MacEachern2001-03-261-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88582 13f79535-47bb-0310-9956-ffa450edef68
* Reconsidered the wisdom of this change... back to the drawing board.William A. Rowe Jr2001-02-251-0/+8
| | | | | | | The ap_ prefix is still good, IMHO git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88313 13f79535-47bb-0310-9956-ffa450edef68
* Clean up namespace badness with s/configfile_t/ap_configfile_t/William A. Rowe Jr2001-02-251-24/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88312 13f79535-47bb-0310-9956-ffa450edef68
* remove ap_{post_config,child_init}_hookDoug MacEachern2001-02-231-19/+0
| | | | | | | | | | | replace usage with ap_run_{post_config,child_init} PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88291 13f79535-47bb-0310-9956-ffa450edef68
* server_rec* -> server_rec * (sorry for nit, C::Scan made me doit)Doug MacEachern2001-02-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88273 13f79535-47bb-0310-9956-ffa450edef68
* avoid c++ keywordsDoug MacEachern2001-02-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88272 13f79535-47bb-0310-9956-ffa450edef68
* - more ap_conf_vector_t fixup.Greg Stein2001-02-181-17/+25
| | | | | | | | - break out the cmd_parms to ap_set_config_vectors to clarify/doc what is happening in there and because the function operates independent of cmds. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88227 13f79535-47bb-0310-9956-ffa450edef68