- Aug 07, 2001
-
-
William A. Rowe Jr authored
All mod_autoindex query parsing is now quietly quashed with the IndexOption IgnoreClient. The IndexOption SuppressColumnSorting still drops the column sort <a href>'s for the column headers, but IgnoreClient is required to ignore these Query options entirely. Introduced new mod_autoindex query argument parsing for F=[0|1|2] to allow the client to select plain, FancyIndexing or HTMLTable formatting, V=[0|1] to inhibit or enable version sorting, and P=pattern to return only specific files. The old Query Arguments were reorganized as C=f for sorting column 'f' (same N, D, S, or M as before), and O=A|D for ordering ascending or descending. Docs and an Example are provided in mod_autoindex.html git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89981 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
null terminator in the right spot for the tag_val if the value contained backslashes. This caused #if, #elif, and #else expressions with backslashes to be incorrectly evaluated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89980 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Introduced new mod_autoindex IndexOptions flags; SuppressIcon to drop the icon column and SuppressRules to drop the <hr> elements. These are necessary for HTML 3.2 final formatting rules. Introduced HTMLTable to create rudimentary HTML table listings (implies FancyIndexing). Necessary for alternate charsets, since the columns are borked by multibyte characters. Re-Introduced the mod_autoindex IndexOptions flag TrackModified from Apache 1.3.15. This is needed for two reasons, first, given multiple machines within a server farm, ETags and Last-Modified stamps won't correspond from machine to machine, and second, many Unixes don't capture changes to the date or time stamp of existing files, since these don't modify the dirent itself. [Originally for 1.3 by me] Re-Introduced the mod_autoindex InextOptions flag FoldersFirst and DirectoryWidth options from Apache 1.3.10. [Originally for 1.3 by Ken Coar] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89979 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
by calling ap_allow_options() before setting rnew->per_dir_config. This is the "easy looking" fix but might have side effects of which I'm unaware... please double-check this change for correctness. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89978 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
A debatable change, to return (an absolute) 404 if some of the extentions of every matching file isn't decodable by mod_mime, instead of 500. Adopted 404 as the result, per Roy Fielding. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89975 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 06, 2001
-
-
William A. Rowe Jr authored
Mumblings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89963 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Change the error wording, slightly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89962 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Thanks goes to Manoj, while commenting on another issue, for triggering this idea. If we find files matching (e.g. index.html.bak matches index.html) but they are rejected because we don't understand them (e.g. they are a directory, or .bak isn't a mod_mime recognized extension) then Error 500 out of here, with a note for the system administrator explaining that index.html matches some files, but their extensions cannot be grokked. No more (unintentional, or situational) autoindex :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89961 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89959 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Per Silve's request, some docs that I was messing with these. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89957 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Whoops, missing win32 goodness git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89956 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
1) return DECLINED instead of OK from the quick_handler so we get some output 2) don't install x_fixer_upper() as a create_request handler; otherwise we segfault since r->per_dir_config hasn't been initialized yet git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89955 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Gone, see .html.en flavors git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89951 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
These will _not_ be required in 2.0 If they are required today, there is still a bug to track down. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89950 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Remove the ->mtime reset back to negotiation, who decided to do this. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89949 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
_THIS_ is why mod_dir wouldn't serve the results of mod_negotiation with a query string git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89948 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix typo from extracting the fast-redirect code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89947 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
The real slim shady finally stood up. This patch segregates the fast internal redirect logic back into http_request, the next patch will actually fix it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89946 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Kill some deadwood git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89945 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Same cleanups as applied to mod_cgi, falling out of scope != destruction in plain ol' C. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89944 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
We are done with this subrequest (before we even got started...) so dump it early. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89943 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
This is not C++, falling out of scope doesn't constitute destruction :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89942 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89938 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89935 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
This was entirely broken. We cannot skip the location walk just because we are in a file subrequest (think of a file server-status sitting in the document root, this shouldn't be blindly served as a 'file'.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89934 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Just a little cleaner. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89933 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Multiviews and mod_negotiation will already handle this case, it never belonged in mod_cgi itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89932 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
More explanation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89931 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 05, 2001
-
-
Ryan Bloom authored
problems, and it makes up initialize the queue only once. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89930 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
or restarts. New processes aren't able to start all their threads right away if other dying processes share the same scoreboard real estate. So give empty process slots in the scoreboard top priority. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89928 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 04, 2001
-
-
Jeff Trawick authored
addressed; I presume those are waiting for an APR-ization of the queue/condition mechanism git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89921 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89920 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Subtle variation for security. If the mod_mime file has nothing specific to say about a given set of file extentions (and has only based the resolved fields on the default language, encoding and content type) then tell us we can ignore the result by leaving the exception list entirely undefined. If mod_mime adds anything (a language, charset, or whatnot) then proceed to use the file in the Multiviews evaluation, otherwise mod_negotation will ignore the file found. This points out a need for a slightly twisted DefaultClientLanguage, as opposed to creating foo.html.html files. Either that, or introduce a 'neutral' entity that the user can list (say, .default) for mod_mime to declare it as a fallback language/encoding/content-type/handler. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89919 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89917 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 03, 2001
-
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89913 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Solve the major underlying problem of content negotation by passing mod_negotiation the 'unresolved' parts of the path in a ->notes array ap-mime-exceptions-list. If mod_mime is given index.html.bad.en it will add index and bad to the list (presuming html and en are both defined.) mod_negotiation will decide if index and bad are it's fault (the user requested index.html.bad[.*]) or if it's a messed up file (say .old, .junk, or .bak). The next patch to allow any-order negotiation should check each of these list elements, so that asking for index.bad in the prior example would succeed. Right now that request would fail because .html was recognized, so it's not in the exceptions list. This patch uses a simple strcmp to the given name. Also, this patch allows any mod_mime processed file to be served, even if the content type cannot be determined (think README.en). This is crippled by the client expect headers and omitting the default content type. PLEASE vet this code carefully. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89912 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89911 13f79535-47bb-0310-9956-ffa450edef68
-
Victor J. Orlikowski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89910 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Save hundreds of cycles on every autoindex request by _not_ attempting to to test the parent (..) sub request! This patch also allows the user to see things that will redirect them. That way, the lnk or dir within the directory is displayed correctly. Also allows an ALT text entry other than DIR by providing AddAlt ^^DIRECTORY^^, as the user (might) expect to be allowed to do. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89909 13f79535-47bb-0310-9956-ffa450edef68
-
Victor J. Orlikowski authored
Now, if someone wants to add a special scoreboard state for proxy attempting to make connection, be my guest. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89908 13f79535-47bb-0310-9956-ffa450edef68
-