summaryrefslogtreecommitdiffstats
path: root/modules/mappers/mod_dir.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-061-1/+1
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* Change Fallback to FallbackResource after extensive discussion withNick Kew2009-09-151-2/+2
| | | | | | | wrowe and DrBacchus. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@815502 13f79535-47bb-0310-9956-ffa450edef68
* Change "DefaultHandler" to "Fallback" as discussed on list andNick Kew2009-09-151-2/+2
| | | | | | | | today on IRC, in the hope that everyone will be satisfied. PR: 47184 + subsequent veto of original directive name git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@815380 13f79535-47bb-0310-9956-ffa450edef68
* mod_dir: Change DefaultHandler to DefaultMapping, and document itNick Kew2009-07-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@795450 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in r785425 (dereference null pointer when not configured)Nick Kew2009-06-171-0/+12
| | | | | | | and add a couple of comments. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@785457 13f79535-47bb-0310-9956-ffa450edef68
* Add DefaultHandler directive to mod_dir.Nick Kew2009-06-161-0/+49
| | | | | | | PR 47184 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@785425 13f79535-47bb-0310-9956-ffa450edef68
* * The nitpicker of the space police. No functional change.Ruediger Pluem2008-11-121-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713504 13f79535-47bb-0310-9956-ffa450edef68
* temporary dbg message and unnecessary continue, per rpluem reviewEric Covener2008-11-121-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713487 13f79535-47bb-0310-9956-ffa450edef68
* change short-lived behavior of "DirectoryIndex None" based on feedback from ↵Eric Covener2008-11-121-4/+21
| | | | | | | | | | | | | | | | | | | wrowe: Doesn't search for anything: DirectoryIndex disabled Does search for literal "disabled": DirectoryIndex disabled foo. DirectoryIndex foo disabled DirectoryIndex disabled disabled Does search: DirectoryIndex disabled.html git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@713462 13f79535-47bb-0310-9956-ffa450edef68
* *) mod_dir: Support "DirectoryIndex None"Eric Covener2008-10-191-1/+3
| | | | | | | | Suggested By André Warnier <aw ice-sa.com> [Eric Covener] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@706001 13f79535-47bb-0310-9956-ffa450edef68
* Sub-requests are created and used with two purposes; sometimesDirk-Willem van Gulik2008-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | simply to 'see' what a request would do; as to fill out an SSI, validate access or similar - and is then discarded. And sometimes as the precursor to becoming the actual request; e.g. when mod_dir checks if an /index.html can be served for a '/'. In the latter case it is important to preserve the output filters 'for real'; whereas in the first case they have to be reset to purely the minimal proto filters (if at all). This patch instates the output filters in 3 cases where sub-requests are/may in fact be used as the real request later on. This is a relatively risky change (which should not be back-ported without further discussion) and may break caches in combination with internal redirects/vary/negotiation in subtle ways. See the thread starting at [1] and in particular the general concerns of rpluem at [2] with respect to sub requests and (fast_)internal redirects possibly needing a more thorough overhaul. 1: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/ajax/%3c335D1A4B-25E2-4FF1-8CDF-5010A7FBD293@webweaving.org%3e 2: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/%3c47ACE1D4.4060702@apache.org%3e git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@620133 13f79535-47bb-0310-9956-ffa450edef68
* update license header textRoy T. Fielding2006-07-111-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
* Update the copyright year in all .c, .h and .xml filesColm MacCarthaigh2006-04-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
* No functional Change: Removing trailing whitespace. This alsoJim Jagielski2005-11-101-8/+8
| | | | | | | | means that "blank" lines consisting of just spaces or tabs are now really blank lines git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
* Explain why we have the regular file typecheck. No functional changes.Colm MacCarthaigh2005-09-261-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291672 13f79535-47bb-0310-9956-ffa450edef68
* Do not check the value of r->handler.Paul Querna2005-08-181-4/+0
| | | | | | | | | This allows the use of SetHandler for an entire directory, and since we already check via the stat structure if this is a directory, there is no reason for this extra check, which causes a regression since 1.3. PR: 25435 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@233369 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
* make trailing-slash-behaviour configurableAndré Malo2004-07-031-3/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104154 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@102618 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first check inAndré Malo2004-02-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102572 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
* allow proxying of directoryindex'd resourcesAndré Malo2004-01-141-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102332 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
* 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
* Only style fixes (tabs, blocks, spelling).Aaron Bannert2002-05-161-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95128 13f79535-47bb-0310-9956-ffa450edef68
* Fix some formattingBill Stoddard2002-03-171-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93985 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
* fix redirects for directories. fixup_dir was munging the URI before otherGreg Ames2002-01-311-1/+1
| | | | | | | | fixup hooks (such as fixup_redir in mod_alias) had a chance to redirect the original directory URI. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93141 13f79535-47bb-0310-9956-ffa450edef68
* get rid of an unused variableJeff Trawick2001-12-281-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92643 13f79535-47bb-0310-9956-ffa450edef68
* Once again, if mod_dir will perform an internal redirect into aWilliam A. Rowe Jr2001-12-281-47/+53
| | | | | | | | | | | | | | RESPONSE BODY (as opposed to 'something else' of it's own generation) it needs to make the caller aware of the results (e.g. an included subrequest) so the caller can decide if the result is suited (e.g. including text/html only, but refusing to include other binary results.) Since we can know everything about the results of the mod_dir processing by the fixups phase, let it perform all resolutions before the caller of ap_process_request_internal makes it's decisions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92641 13f79535-47bb-0310-9956-ffa450edef68
* Resolve the mod_dir overaggressive redirection problem seen with non-GETJustin Erenkrantz2001-11-131-3/+6
| | | | | | | | requests for WebFolders. Reviewed by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91894 13f79535-47bb-0310-9956-ffa450edef68
* Two cases we are certain of canonical correctnessWilliam A. Rowe Jr2001-08-231-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90586 13f79535-47bb-0310-9956-ffa450edef68
* Kill some deadwoodWilliam A. Rowe Jr2001-08-061-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89945 13f79535-47bb-0310-9956-ffa450edef68
* Under certain circumstances, Apache did not supply theJeff Trawick2001-04-201-1/+2
| | | | | | | | | right response headers when requiring authentication. [Gertjan van Wingerde <Gertjan.van.Wingerde@cmg.nl>] PR#7114 (This is a port of the change that went into Apache 1.3.19.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88901 13f79535-47bb-0310-9956-ffa450edef68
* do the redirection for GET requests onlyGreg Stein2001-02-241-6/+3
| | | | | | | Submitted by: Ryan Bloom and Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88305 13f79535-47bb-0310-9956-ffa450edef68
* Split the mod_dir fixup into two parts. The first determines if thisRyan Bloom2001-02-211-6/+22
| | | | | | | | is a MOVED_PERMANANTLY response, and is done from the fixup. The second is a handler that redirects to an index.html page. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88263 13f79535-47bb-0310-9956-ffa450edef68
* Make mod_dir use a fixup for sending a redirect to the browser.Ryan Bloom2001-02-211-4/+3
| | | | | | | | | | | Before this, we were using a handler, which doesn't make much sense, because the handler wasn't generating any data, it would either return a redirect error code, or DECLINED. This fits the current hooks better. Submitted by: Ryan Morgan <rmorgan@covalent.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88255 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright to 2001Roy T. Fielding2001-02-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
* renaming various functions for consistency sakeDoug MacEachern2001-02-081-5/+5
| | | | | | | | | | | see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
* The big change. This is part 3 of the apr-util symbols rename, pleaseWilliam A. Rowe Jr2001-01-191-1/+1
| | | | | | | | see the first commit of srclib/apr-util/include (cvs apr-util/include) for the quick glance at symbols changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
* Provide apr_pool_t arg to register_hooks, since anything they do in thatWilliam A. Rowe Jr2001-01-171-2/+1
| | | | | | | | step -must- be done with a pool that will not outlive the cmd pool, from which they may have been dynamically loaded. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697 13f79535-47bb-0310-9956-ffa450edef68
* adjust remaining modules to use the new handler hook method (Alan Edwards)Doug MacEachern2001-01-091-2/+2
| | | | | | | | | | | bring back the old handler prototype by reusing r->handler (dougm) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87617 13f79535-47bb-0310-9956-ffa450edef68
* Make handlers use hooks.Ben Laurie2001-01-071-10/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87604 13f79535-47bb-0310-9956-ffa450edef68
* add the "next filter" parameter to the rest of the ap_sub_req_* calls.Greg Stein2000-11-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87076 13f79535-47bb-0310-9956-ffa450edef68
* Allow modules to specify the first module for a sub-request. This allowsRyan Bloom2000-11-221-1/+1
| | | | | | | | | | | modules to not have to muck with the output_filter after it creates the sub-request. Without this change, modules that create a sub-request have to manually edit the output_filters, and therefore skip the sub-request output_filter. If they skip the sub-request output_filter, then we end up sending multiple EOS buckets to the core_output_filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87065 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolsWilliam A. Rowe Jr2000-10-161-2/+2
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86609 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...William A. Rowe Jr2000-08-061-1/+1
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86008 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-021-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
* - fix POOL_DEBUG ... restored the ap_pool_joins that dreid removed.dgaudet2000-07-261-0/+1
| | | | | | | | | - removed the apr_abort foo since every caller was passing it NULL anyway; and this is debugging code, so i don't have any qualms about using stderr or abort(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85888 13f79535-47bb-0310-9956-ffa450edef68
* Move all APR functions related to strings to their own directory, andRyan Bloom2000-07-211-0/+1
| | | | | | | | | create a new header for those functions. This is the first step to removing the apr/lib directory completely, and moving those files/functions to descriptive directories. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85867 13f79535-47bb-0310-9956-ffa450edef68