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

169 Commits

Author SHA1 Message Date
Eric Covener
04d5492b0b roll back pair of recent autoindex changes (1204355:1204306)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204356 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 05:12:12 +00:00
Eric Covener
a109706a9e PR51471: IndexIgnore doesn't work in DirectoryMatch.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204341 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 03:29:12 +00:00
Eric Covener
6c2475f70e PR39923: Allow AddDescription to work with absolute filesystem paths,
by not adding "*/" to their prefix (intended for relative paths)



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204307 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 01:03:15 +00:00
Stefan Fritsch
1951a037bf More cleanup: Expand tabs and some more indentation fixes
No functional change


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 18:08:42 +00:00
Jim Jagielski
427c85bd23 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@1174751 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:39:32 +00:00
Eric Covener
b1b5e91608 improve (but preserve searchable parts of) the error message when Options
-Indexes is about to trigger a 403 in mod_autoindex, with a pointer
to mod_dir about how the DirectoryIndex might have been the real culprit.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147339 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 22:32:42 +00:00
Jeff Trawick
782c711893 fix some dead assignments found by the clang analyzer
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1098162 13f79535-47bb-0310-9956-ffa450edef68
2011-04-30 21:18:58 +00:00
Eric Covener
08309dbff6 PR#24243: allow some control over how IndexIgnore'd files are merged.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1042209 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 16:23:02 +00:00
Eric Covener
025ffd8686 PR#47766 mod_autoindex directives not merged into sections with no autoindex directives.
This is due to an empty "opts" field looking just like one that has specified "None".  None is always
alone, so simplify and test for equality.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031430 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 04:45:21 +00:00
Stefan Fritsch
ebb62867fb Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
William A. Rowe Jr
aba233e29d Folks, this is not C++. Please, pay attention to your patches
and don't leave trunk deliberately broken.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906357 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 04:19:13 +00:00
Ruediger Pluem
ba38707a86 * Make autoindex.t from perl testframework work again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@903794 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 19:46:00 +00:00
Ruediger Pluem
e7cb3d2c94 * Remove unused variable to silence compiler warning
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@903748 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:30:10 +00:00
Rich Bowen
d008bbe604 Use correct comment style.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@903302 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 16:19:51 +00:00
Rich Bowen
ecdfd66e6e Applies the patch provided in ticket 34014, enhancing the CSS abilities
of mod_autoindex. Documentation to follow momentarily.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@903052 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:25:04 +00:00
William A. Rowe Jr
3aff695f71 Such macros exist for a reason :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@901558 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 06:33:05 +00:00
Rich Bowen
159afce72a Initialize variable to avoid compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894370 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 12:39:23 +00:00
Rich Bowen
36d32b4998 Adds alternating CSS classes to table rows for trendy striped table
support.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894298 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 02:18:55 +00:00
Rich Bowen
4cabc39d8d The ReadmeName directive was putting its value in the wrong place, and
overwriting the HeaderName value.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 23:08:15 +00:00
Nick Kew
e0a6f42ec3 mod_autoindex: support XHTML as equivalent to HTML in
IndexOptions, ScanHTMLTitles, ReadmeName, HeaderName
PR 48416 [Dmitry Bakshaev <dab18 izhnet.ru>, Nick Kew]



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@893035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 23:43:50 +00:00
Ruediger Pluem
02fc923bd0 * Correctly create an empty cell if the description for a file is missing.
PR: 47682
Submitted by: Peter Poeml <poeml suse.de>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@803704 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 20:42:48 +00:00
Takashi Sato
9b8158867c Remove a dirty hack in find_default_item.
Creating local request_rec breaks Module Magic Number.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729388 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 01:47:44 +00:00
Takashi Sato
802a857b02 Make "HeaderName" and "ReadmeName" be stored in simple entries "header" and "readme" respectively.
Side effect:
In the case that multiple "HeaderName"s or multiple "ReadmeName"s exist in one directory section.
Before this change, the first directive is effective.
After this change, the last directive is effective.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@729314 13f79535-47bb-0310-9956-ffa450edef68
2008-12-24 14:21:45 +00:00
Nick Kew
ca323c0550 Add option to insert something in autoindex head.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@689261 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 22:10:06 +00:00
Ruediger Pluem
dfce1044eb * Detabify and make spacing in HTML code the same as before r593816. This
avoids that the autoindex test (t/modules/autoindex) fails. Adjusting
  the autoindex test would cause it to fail with older versions and would
  make it harder to recognize regressions.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599589 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 21:48:18 +00:00
Ruediger Pluem
15d1cc4ad8 * Generate valid XHTML output by adding the xhtml namespace.
PR: 43649
Submitted by: Jose Kahan <jose w3.org>
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@593816 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 22:15:34 +00:00
Jim Jagielski
ad1fb81618 Make Bill happy ;)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@570558 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 20:13:59 +00:00
Jim Jagielski
699f083458 IndexOptions ContentType=text/html Charset=UTF-8
magic.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@570532 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 19:10:31 +00:00
Roy T. Fielding
de659cbed0 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:33:53 +00:00
Joe Orton
0552ebe483 * modules/generators/mod_autoindex.c (output_directories): Escape
filename in non-FancyIndexing case.

PR: 38910
Submitted by: Robby Griffin <rmg terc.edu>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@407265 13f79535-47bb-0310-9956-ffa450edef68
2006-05-17 14:23:41 +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
Jim Jagielski
5061d9fa92 No functional Change: Removing trailing whitespace. This also
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
2005-11-10 15:11:44 +00:00
Paul Querna
da9a8de753 Add AP_INIT_TAKE_ARGV. There can be some inconsistent results because of the 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
2005-05-04 22:23:00 +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
Joshua Slive
0a6ff84521 "Rule" is pretty abstract in this case and seems to
cause confusion for many people.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104935 13f79535-47bb-0310-9956-ffa450edef68
2004-09-02 14:53:28 +00:00
Paul Querna
e8637daae8 Add ShowForbidden to IndexOptions to list files
that are not shown because the subrequest returned 401 or 403.

PR: 10575


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104212 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 02:25:56 +00:00
Joe Orton
7d90e82bac * modules/standard/mod_autoindex.c (index_directory): If stat() fails
for a particular dirent, ignore that entry rather than truncating the
directory listing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102924 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 20:51:10 +00:00
André Malo
a688f06b19 fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102618 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:31:03 +00:00
André Malo
d0e05bada9 fix copyright dates according to the first check in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102565 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 12:07:22 +00:00
André Malo
0d57db3af2 apply Apache License, 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102524 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 22:19:28 +00:00
André Malo
fb07607180 update license to 2004.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 13:26:26 +00:00
André Malo
416e669813 add another space, for the sake of Netscape 4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101854 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:27:30 +00:00
André Malo
fcab969a38 restore the space which broke all tests :-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101853 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 17:20:55 +00:00
Ian Holsman
b8f83d01ae mod_autoindex: new directive IndexStyleSheet
PR:
Obtained from:
Submitted by: Tyler Riddle <triddle_1999 yahoo.com> and Paul Querna <chip force-elite.com>
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101809 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 03:45:22 +00:00
André Malo
256c57f350 darn, the patch for bug 9587 (wrong icon for directories shown) broke
the directory descriptions more or less completely. Fix it now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101693 13f79535-47bb-0310-9956-ffa450edef68
2003-11-03 21:57:51 +00:00
André Malo
1694aa9b06 - add XHTML doctypes to httpd.h
- fix the (x)html output of mod_autoindex to be consistent
  and make it configurable to emit either HTML or XHTML

PR: 23747


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101683 13f79535-47bb-0310-9956-ffa450edef68
2003-11-02 20:37:04 +00:00
André Malo
72ff650b79 Don't omit the initial <tr> if SuppressIcon is set.
Submitted by: Jesse Tie-Ten-Quee <highos@highos.com>
PR: 21668


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101661 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 23:00:25 +00:00
André Malo
4c3949e8b9 improve readability a (little) bit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101657 13f79535-47bb-0310-9956-ffa450edef68
2003-11-01 22:06:28 +00:00
Jeff Trawick
aa21671e13 switch to APR 1.0 API (which is still in flux)
because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101154 13f79535-47bb-0310-9956-ffa450edef68
2003-09-03 19:27:12 +00:00
André Malo
bc5b07c9a4 If a directory contains a file listed in the
DirectoryIndex directive, the folder icon is no longer replaced
by the icon of that file.

PR:	9587
Submitted by:	David Shane Holden <dpejesh@yahoo.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100628 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 13:22:03 +00:00