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
André Malo
dac1e5717b
Unescape the supplied wildcard pattern. Otherwise the pattern will
...
not always match as desired. In order to be correct and safe, the
pattern will be re-escaped for output.
PR: 12596
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98885 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 18:06:16 +00:00
André Malo
ac90d0c043
add some comments and WS to make it better readable (hopefully ;-)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98884 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 17:28:34 +00:00
André Malo
f99c1d6dca
emit and accept modern query string parameter delimiters (;).
...
Thus column headers no longer contain unescaped ampersands.
PR: 10880
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98883 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 17:15:43 +00:00
André Malo
c35ab34ccf
buhuh! use the correct target string and don't forget
...
F=x and V=y in column headers ...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98882 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 16:26:45 +00:00
André Malo
5f90dfcdf9
WS and style issues. No code changes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98880 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 13:38:38 +00:00
André Malo
742af25096
finished that boring job:
...
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
2003-02-03 17:53:28 +00:00
William A. Rowe Jr
05caa1cf52
Bring forward the IndexOptions IgnoreCase option to mod_autoindex
...
from Apache 1.3 for both 2.0 and 2.1 (since the patch/feature was
previously accepted for 1.3, I'm committing without the usual vote
specific to 2.0.) Only small modification of David's patch to avoid
future reformatting of the options list and better handle the strnatcmp
side effects.
PR: 14276
Obtained from:
Submitted by: David Shane Holden <dpejesh@yahoo.com >
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98181 13f79535-47bb-0310-9956-ffa450edef68
2003-01-06 15:20:32 +00:00
Jeff Trawick
d91c0c5bb3
mod_autoindex: AddDescription directives for directories
...
now work as in Apache 1.3, where no trailing '/' is
specified on the directory name. Previously, the trailing
'/' *had* to be specified, which was incompatible with
Apache 1.3.
PR: 7990
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97590 13f79535-47bb-0310-9956-ffa450edef68
2002-11-21 23:53:21 +00:00