1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-13 21:42:17 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Jeff Trawick
d23c070732 fix formatting of DEFAULT_REL_RUNTIMEDIR
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369431 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 20:37:04 +00:00
Jeff Trawick
9542469b43 mention migration from ap_requires() and to ap_runtime_dir_relative()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369300 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 12:16:58 +00:00
Stefan Fritsch
83280169c1 Revert r1299786, which is already covered elsewhere in the same document:
document that ap_mpm_query is available only after register hooks
    PR: 52889



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1302674 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 21:54:31 +00:00
Stefan Fritsch
39b8dc40cb document that ap_mpm_query is available only after register hooks
PR: 52889


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1299786 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 18:59:52 +00:00
Jeff Trawick
cb617157d2 apply insufficient TLC, making some improvements to wording
and typography


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1291766 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:26:06 +00:00
Stefan Fritsch
2e6a62f550 Document the unfortunate side effect of converting ap_log_*error into macros
with respect to #ifdef.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225478 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 09:07:48 +00:00
Graham Leggett
cb21a0dbcc Further clarify the naming of the entity that directly connects to us by
calling that entity a client instead of a peer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214015 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 01:10:52 +00:00
Graham Leggett
2af2fa44ad Further clarify the naming of the entity that originates the request by
calling that entity a useragent instead of a client.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1214003 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 00:31:51 +00:00
Graham Leggett
b3910b4a70 Changes to v2.4 APIs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209085 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 14:01:25 +00:00
Stefan Fritsch
e0184da329 Pass ap_errorlog_info to error_log hook.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204614 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 17:36:26 +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
Stefan Fritsch
9d2ca013b6 cleanups related to new AllowOverrideList functionality:
- add new NOT_IN_HTACCESS flag for ap_check_cmd_context() 
- describe the need for this in new_api_2_4.xml
- forbid Define and UnDefine in .htaccess


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153676 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 21:36:18 +00:00
Daniel Ruggeri
0d69087127 Add AllowOverrideList directive and documentation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1151654 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 22:24:14 +00:00
André Malo
73e09fa95a property and xml fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137340 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 11:24:29 +00:00
Stefan Fritsch
fba947527f Introduce new function ap_get_conn_socket() to access the socket of
a connection


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135153 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:02:18 +00:00
Stefan Fritsch
bf07c1867c Add new ap_reserve_module_slots/ap_reserve_module_slots_directive API,
necessary if a module (like mod_perl) registers additional modules later than the
EXEC_ON_READ phase.

Tested by: Torsten Foertsch <torsten foertsch gmx net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096569 13f79535-47bb-0310-9956-ffa450edef68
2011-04-25 19:22:04 +00:00
Jeff Trawick
3c0476fe50 Simplify the interface to ap_reclaim_child_processes() and
ap_relieve_child_processes(): instead of requiring the MPM
to implement an otherwise-useless hook, just use a callback
function.

As I don't expect third-party MPM devs are following our day
to day progress, the API changes are considered part of
yesterday's MMN change.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1087085 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 21:32:10 +00:00
Jeff Trawick
b1e1cff7f9 the mpm-note-child-killed hook was just for use by
ap_{reclaim,relieve}_child_processes; those functions can
invoke the hook directly; the function ap_mpm_note_child_killed()
is useless


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086953 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 13:42:00 +00:00
Stefan Fritsch
7b61bedb2f Change the ap_cfg_getline() and ap_cfg_getc() to return an error code.
Also:
- Make ap_cfg_getline() return APR_ENOSPC if a config line is too long.
- Add ap_pcfg_strerror() function to convert ap_cfg_getline's return value
  into a nice message.
- Adjust definition of ap_configfile_t accordingly.

Not bumping MMN because it has already been bumped today.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086756 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 21:29:34 +00:00
Jeff Trawick
4633c48f14 add hints for
* C++ and APLOG_USE_MODULE()
* mpm_default.h


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086325 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 18:18:52 +00:00
Jeff Trawick
5dd173ae52 separate the issue of passing APLOG_MARK to your own functions
and the sometimes-related issue of not passing APLOG_MARK to ap_log_*(),
adding coverage for APLOG_MODULE_INDEX


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082975 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 17:12:32 +00:00
Jeff Trawick
ecfdf9d9e3 describe the ap_log_error(...,ap_server_conf,...) idiom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082933 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 14:21:01 +00:00
Daniel Earl Poirier
fed0abe513 Fix XML so it validates again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082203 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 16:53:43 +00:00
Jeff Trawick
4459e70792 add more module upgrade hints
change some existing text to be more correct+readable


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1081559 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 20:58:32 +00:00
Jeff Trawick
685ff3fc0a add some new sections to the API migration docs, where more
detailed explanations can be provided for some of the API
changes and additions


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1081507 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 18:30:03 +00:00
Stefan Fritsch
ae4433b1f6 Mention ap_state_query() in the new API docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1070318 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 22:44:27 +00:00
Graham Leggett
2f74bae2d5 Rename mod_disk_cache to mod_cache_disk within the documentation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1037244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 15:48:51 +00:00
Rainer Jung
a7c1dc2853 Fix description of APLOG_USE_MODULE in new
API docs. The macro needs a trailing semicolon.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023002 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:30:29 +00:00
Graham Leggett
6c1f4e708a Ooh look, new and shiny things in v2.4.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1022232 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:43:23 +00:00
Stefan Fritsch
ade21d36e1 clarify wording about regexp
Submitted by: Arvind Srinivasan


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001195 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 11:15:51 +00:00
Stefan Fritsch
f8a8860c01 Add some more items
Add section about how to handle logging changes


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1001193 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 11:12:44 +00:00
Nick Kew
a582b2af85 Add ap_rxplus to new_api docs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@999911 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 12:38:42 +00:00
Stefan Fritsch
f14218c7ad The approach for allowing authorization by user or IP introduced in r956387,
etc. causes problems because the authentication module calls
note_*_auth_failure if authentication fails. This is inappropriate if access is
later allowed because of the IP.

So, instead of calling the auth_checker hook even if authentication failed, we
introduce a new access_checker_ex hook that runs between the access_checker and
the check_user_id hooks. If an access_checker_ex functions returns OK, the
request will be allowed without authentication.

To make use of this, change mod_authz_core to walk the require blocks in the
access_checker_ex phase and deny/allow the request if the authz result does not
depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an
authz provider from an authz provider needing an authenticated user, the latter
must return the new AUTHZ_DENIED_NO_USER code.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964156 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 19:59:31 +00:00
Jeff Trawick
c9d959fa7b fix broken stylesheet path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962958 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 00:34:30 +00:00
Nick Kew
042384c3b4 Move new_api_2_4 doc to developer docs where it belongs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959136 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 23:04:27 +00:00