]> granicus.if.org Git - apache/log
apache
24 years agoSet timeouts to sendfile operation in http_protocol.c. Fix bugs in Win32
Bill Stoddard [Mon, 31 Jan 2000 19:21:37 +0000 (19:21 +0000)]
Set timeouts to sendfile operation in http_protocol.c. Fix bugs in Win32
sendfile implementation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84543 13f79535-47bb-0310-9956-ffa450edef68

24 years ago This really *is* a FAQ..
Ken Coar [Sun, 30 Jan 2000 15:47:42 +0000 (15:47 +0000)]
This really *is* a FAQ..

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84538 13f79535-47bb-0310-9956-ffa450edef68

24 years agoremove one space...
Lars Eilebrecht [Sun, 30 Jan 2000 00:36:55 +0000 (00:36 +0000)]
remove one space...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84533 13f79535-47bb-0310-9956-ffa450edef68

24 years agoInclude ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
Ryan Bloom [Fri, 28 Jan 2000 18:02:29 +0000 (18:02 +0000)]
Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
defined correctly in all C files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84531 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMore sendfile work. Use new sendfile API in Apache, update Windows MPM
Bill Stoddard [Thu, 27 Jan 2000 05:58:00 +0000 (05:58 +0000)]
More sendfile work. Use new sendfile API in Apache, update Windows MPM
to begin using APR socket API.
Note:
sendfile on Unix side is broken. Need to detect for NULL hdtr. I'll do
it later this week if no one else steps up.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84529 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet OS/2 working with new configure system. Yay! :)
Brian Havard [Wed, 26 Jan 2000 07:51:45 +0000 (07:51 +0000)]
Get OS/2 working with new configure system. Yay! :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84522 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOnly check for pthreads for mpms that actually need it rather than assuming
Brian Havard [Wed, 26 Jan 2000 07:47:34 +0000 (07:47 +0000)]
Only check for pthreads for mpms that actually need it rather than assuming
everything except prefork needs it. Clarify threads != pthreads.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84521 13f79535-47bb-0310-9956-ffa450edef68

24 years agoOS/2 doesn't have groups, don't try to mess with them.
Brian Havard [Wed, 26 Jan 2000 07:40:11 +0000 (07:40 +0000)]
OS/2 doesn't have groups, don't try to mess with them.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84520 13f79535-47bb-0310-9956-ffa450edef68

24 years agoQuiet some warnings.
Brian Havard [Wed, 26 Jan 2000 07:07:49 +0000 (07:07 +0000)]
Quiet some warnings.
- 1 'suggest parentheses around assignment used as truth value'
- a few "subscript has type `char'"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84519 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix compile breaks on Windows.
Bill Stoddard [Sun, 23 Jan 2000 16:37:46 +0000 (16:37 +0000)]
Fix compile breaks on Windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84512 13f79535-47bb-0310-9956-ffa450edef68

24 years agoNote that module ordering is now done per-hook.
Manoj Kasichainula [Sat, 22 Jan 2000 04:23:56 +0000 (04:23 +0000)]
Note that module ordering is now done per-hook.
Suggested by: Ben Laurie.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84509 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix Windows compile breakage.
Bill Stoddard [Fri, 21 Jan 2000 19:24:46 +0000 (19:24 +0000)]
Fix Windows compile breakage.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84507 13f79535-47bb-0310-9956-ffa450edef68

24 years agoLet ap_config.h figure out whether netdb.h should be included or not.
Bill Stoddard [Fri, 21 Jan 2000 19:13:24 +0000 (19:13 +0000)]
Let ap_config.h figure out whether netdb.h should be included or not.
This fixes a compile problem on platforms that do not have netdb.h.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84506 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd back the script_interpreter_source code.
Bill Stoddard [Fri, 21 Jan 2000 18:42:45 +0000 (18:42 +0000)]
Add back the script_interpreter_source code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84505 13f79535-47bb-0310-9956-ffa450edef68

24 years agoBack out most of the last commit. Keep APR macros seperate from Apache
Bill Stoddard [Fri, 21 Jan 2000 01:25:25 +0000 (01:25 +0000)]
Back out most of the last commit. Keep APR macros seperate from Apache
macros.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84504 13f79535-47bb-0310-9956-ffa450edef68

24 years agoConvert HAVE_NETINET... to the APR mac
Bill Stoddard [Thu, 20 Jan 2000 22:14:15 +0000 (22:14 +0000)]
Convert HAVE_NETINET... to the APR mac

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84503 13f79535-47bb-0310-9956-ffa450edef68

24 years agoManoj has been pushing for this for a while, but I've been too dense
Ryan Bloom [Wed, 19 Jan 2000 02:42:17 +0000 (02:42 +0000)]
Manoj has been pushing for this for a while, but I've been too dense
to understand that he was right.  :-)  Basically, this makes the modules
use ap_config to test for header file inclusion.  This method is not to
be used for larger modules that run autoconf theirselves.  Including
ap_config is only valid for modules which rely on Apache to do their
configuration.  Currently, this is only the core modules.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84497 13f79535-47bb-0310-9956-ffa450edef68

24 years agoCleanup a few things with the compile. There were also a few macro name
Ryan Bloom [Wed, 19 Jan 2000 02:09:03 +0000 (02:09 +0000)]
Cleanup a few things with the compile.  There were also a few macro name
changes I missed earlier.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84496 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix Windows compile break. Gotta find a better way to fix this.
Bill Stoddard [Wed, 19 Jan 2000 01:33:16 +0000 (01:33 +0000)]
Fix Windows compile break. Gotta find a better way to fix this.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84495 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix compile break on Windows and update to use ap_stat()
Bill Stoddard [Wed, 19 Jan 2000 01:28:37 +0000 (01:28 +0000)]
Fix compile break on Windows and update to use ap_stat()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84494 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFinish the commits for the change in the header files. Basically, this hides
Ryan Bloom [Wed, 19 Jan 2000 01:16:31 +0000 (01:16 +0000)]
Finish the commits for the change in the header files.  Basically, this hides
all of the Apache macros that modules don't need access to.  This should
have been committed with the modules, but I wasn't paying attention to the
directory I was in when I ran the commit.
Submitted by: Manoj Kasichainula and Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84493 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThis is a huge change to the configure system. Basically, this name space
Ryan Bloom [Tue, 18 Jan 2000 23:41:56 +0000 (23:41 +0000)]
This is a huge change to the configure system.  Basically, this name space
protects most, if not all, of the Apache macros.   This has been tested on
Linux using all of the Unix MPM's.  The biggest push was that Apache's
httpd.h header file can no longer include the ap_config.h file.  Most of the
other files include this themselves now.
Submitted by: Ryan Bloom and Manoj Kasichainula

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84492 13f79535-47bb-0310-9956-ffa450edef68

24 years agoDocumentation for the Netware port
Bill Stoddard [Tue, 18 Jan 2000 19:32:49 +0000 (19:32 +0000)]
Documentation for the Netware port
Submitted by: Mike Gardiner

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84489 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThe start of a 2.0 changes document. This will be a basis for Manoj's
Manoj Kasichainula [Mon, 17 Jan 2000 21:03:08 +0000 (21:03 +0000)]
The start of a 2.0 changes document. This will be a basis for Manoj's
ApacheCon 2000 presentation, so please add to this. :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84485 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove vestiges of automake.
Manoj Kasichainula [Mon, 17 Jan 2000 20:34:44 +0000 (20:34 +0000)]
Remove vestiges of automake.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84484 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate Windows port to new file_io and time specs
Bill Stoddard [Mon, 17 Jan 2000 19:37:55 +0000 (19:37 +0000)]
Update Windows port to new file_io and time specs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84483 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAt least add a pointer to Andrew Ford's cronolog utility, now that it's
Martin Kraemer [Sun, 16 Jan 2000 20:52:30 +0000 (20:52 +0000)]
At least add a pointer to Andrew Ford's cronolog utility, now that it's
under the Ap.License

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84476 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMove threads/reentrancy m4 macros into threads.m4. All results are now
Sascha Schumann [Sun, 16 Jan 2000 20:00:51 +0000 (20:00 +0000)]
Move threads/reentrancy m4 macros into threads.m4. All results are now
cached and can be made easily available to Apache and APR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84475 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRewrite pthreads check to be more tool-independent, and propagate flags
Sascha Schumann [Sun, 16 Jan 2000 18:24:39 +0000 (18:24 +0000)]
Rewrite pthreads check to be more tool-independent, and propagate flags
to APR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84474 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove config.cache, if configure is rebuilt
Sascha Schumann [Sun, 16 Jan 2000 18:20:17 +0000 (18:20 +0000)]
Remove config.cache, if configure is rebuilt

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84473 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove dependency on automake's aclocal. We continue to use acinclude.m4,
Sascha Schumann [Sun, 16 Jan 2000 17:18:13 +0000 (17:18 +0000)]
Remove dependency on automake's aclocal. We continue to use acinclude.m4,
because aclocal.m4 needs to contain libtool's m4 macros.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84471 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMissed this file! So here it is...
David Reid [Sat, 15 Jan 2000 20:15:08 +0000 (20:15 +0000)]
Missed this file!  So here it is...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84469 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThe remaining files for the new documentation.
David Reid [Sat, 15 Jan 2000 20:13:50 +0000 (20:13 +0000)]
The remaining files for the new documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84468 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAnother file for the documentation.
David Reid [Sat, 15 Jan 2000 18:35:04 +0000 (18:35 +0000)]
Another file for the documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84467 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThis attempts to make more sense of the documentation along the lines of my
David Reid [Sat, 15 Jan 2000 18:34:14 +0000 (18:34 +0000)]
This attempts to make more sense of the documentation along the lines of my
suggestion about a week ago.  Now when I figure out how to move files...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84466 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe're building Apache, not PHP.
Ben Laurie [Sat, 15 Jan 2000 15:37:52 +0000 (15:37 +0000)]
We're building Apache, not PHP.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84462 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix OS/390 binbuild break
Bill Stoddard [Thu, 13 Jan 2000 16:02:09 +0000 (16:02 +0000)]
Fix OS/390 binbuild break
Submitted by: Greg Ames

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84454 13f79535-47bb-0310-9956-ffa450edef68

24 years agogcc on AIX takes -mthreads. I wonder what they smoked during creating
Sascha Schumann [Wed, 12 Jan 2000 20:41:57 +0000 (20:41 +0000)]
gcc on AIX takes -mthreads. I wonder what they smoked during creating
all those wonderful flags.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84449 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix some remaining problems with SSI's and Windows. Basically, the
Ryan Bloom [Wed, 12 Jan 2000 18:20:43 +0000 (18:20 +0000)]
Fix some remaining problems with SSI's and Windows.  Basically, the
sendfile stuff doesn't work properly with chuncked data.
Submitted by: Allan Edwards
Reviewed by: Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84448 13f79535-47bb-0310-9956-ffa450edef68

24 years ago`-follow' is a GNU extension, remove it.
Sascha Schumann [Wed, 12 Jan 2000 16:55:58 +0000 (16:55 +0000)]
`-follow' is a GNU extension, remove it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84446 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRevert the scoreboard change because Jim doesn't like it.
Tony Finch [Wed, 12 Jan 2000 15:54:46 +0000 (15:54 +0000)]
Revert the scoreboard change because Jim doesn't like it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84444 13f79535-47bb-0310-9956-ffa450edef68

24 years agoBe more explicit about the performance of UseCanonicalName DNS
Tony Finch [Wed, 12 Jan 2000 01:18:07 +0000 (01:18 +0000)]
Be more explicit about the performance of UseCanonicalName DNS
after the scoreboard change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84440 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake OS selection work for non-UNIX cases
Sascha Schumann [Tue, 11 Jan 2000 17:28:28 +0000 (17:28 +0000)]
Make OS selection work for non-UNIX cases

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84430 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThese changes are committed together, because they depend on each other.
Sascha Schumann [Tue, 11 Jan 2000 13:11:13 +0000 (13:11 +0000)]
These changes are committed together, because they depend on each other.

    -   shared modules can be built in the tree
    -   added support for --with-layout, uses APACI's config.layout
    -   working 'make install'
    -   working 'make depend'
    -   working Pthreads checks
    -   buildconf replaced

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84423 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate .cvsignore files
Sascha Schumann [Tue, 11 Jan 2000 13:04:01 +0000 (13:04 +0000)]
Update .cvsignore files

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84422 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRework ap_finfo_t to split the file type out of the protection field.
Brian Havard [Mon, 10 Jan 2000 15:35:51 +0000 (15:35 +0000)]
Rework ap_finfo_t to split the file type out of the protection field.
I've taken a stab at the unix implementation but tested only on OS/2.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84416 13f79535-47bb-0310-9956-ffa450edef68

24 years agotime overhaul:
dgaudet [Sun, 9 Jan 2000 05:18:31 +0000 (05:18 +0000)]
time overhaul:

- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras

probably broken on anything except linux.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84413 13f79535-47bb-0310-9956-ffa450edef68

24 years agoadd missing compatiblity info
Lars Eilebrecht [Sat, 8 Jan 2000 19:57:29 +0000 (19:57 +0000)]
add missing compatiblity info

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84411 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake our nitpicking and complaining guys happy:
Ralf S. Engelschall [Sat, 8 Jan 2000 14:50:14 +0000 (14:50 +0000)]
Make our nitpicking and complaining guys happy:

Added the mod_rewrite `URL Rewriting Guide' to the online documentation
(htdocs/manual/misc/rewriteguide.html). This paper provides a large
collection of practical solutions to URL based problems a webmaster is
often confronted with.

This version of the text was translated from my WML source on my website
and my old official version is now discarded. So, as it was requested,
this can be treated as an official donation of this text to the ASF.
This way the ASF is now the official owner of this text.

                               - - -

<IRONIC>
Be happy and give Ken and Jim the credit for achieving this by being
such sensitive and friendly to other developers like me and always
reminding us that it is such contemptuous to implicitly promote ones
name by writing free software and contributing to projects like Apache.
Sorry that I have forgotten to donate this piece of text to the ASF in
the past and instead added such a contemptible hyperlink directing to a
page on www.engelschall.com. I hope this is now fixed and the closed and
holy ASF world is rescued again.
</IRONIC>

<PERSONAL>
I think, I don't have to say that I'm more than angry and disappointed
how developers like me are constantly bashed in the ASF... we can go for
it also in the future, but we should stop looking astonished all the
time if we find out that too less people contribute to the ASF and old
developers like me no longer have a warm feeling here, please. It's our
own fault in thinking that contributions are for free and anonymous just
because our project is a group effort.

IMHO we already have forgotten the golden rule of Open Source
development: if one wants happy and long-term contributing developers
one especially has to make sure they receive the requested credit.
There is an upper limit a project can accept to give, of course. But
credit always has to depend on the amount, quality _and_ duration of
contribution and IMHO cannot be judged by stating that just all people
are equal and so some contributors can be bashed for the fact that their
name occurs more often.

It is correct that my name occurs more often caused by the fact that I
always try to bring in my stuff to the project. But keep in mind that
this is because I _HAVE_ stuff to bring in which I've created _OUTSIDE_
the project. So I think its unfair to bash me just because I try harder
to bring in my additional stuff. If a developer has not much externally
created stuff, he cannot bring it in to the project, of course. But just
because one has more externally created stuff and tries to bring it in,
is IMHO no reason and excuse to bash him for this. It's not my fault
that I write in my freetime more Open Source packages like most of you.

So if you dislike stuff developers want to bring in, decide on the
contribution based on fair technical arguments (pros and cons). But
don't judge the contributions all the time just because you think this
way you "promote" someone (be it RSE, GNU or whoever else). Hell, an
Open Source project is not a group of people to rule their own closed
world and be celebrated in the press for this. It's still an effort to
create the best piece of _software_ money can't buy. So you should stop
thinking about contributors as our enemy. They are the main driving
force of every project, although some people seem to not understand
this at all. And whatever you think about my personal opinion, but
IMHO it's not bad for a project if someone's name is "promoted" with
it, too. What is actually bad are those complains and discussions
which make developers angry and the fact that they result in even less
contributions.
</PERSONAL>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84409 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMove some modules over to using ap_time_t instead of struct tm.
Ryan Bloom [Fri, 7 Jan 2000 20:38:06 +0000 (20:38 +0000)]
Move some modules over to using ap_time_t instead of struct tm.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84407 13f79535-47bb-0310-9956-ffa450edef68

24 years agoit's -> its
Martin Kraemer [Fri, 7 Jan 2000 16:38:08 +0000 (16:38 +0000)]
it's -> its

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84405 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix the rest of the modules to work with the new APR stat structure.
Ryan Bloom [Fri, 7 Jan 2000 15:52:21 +0000 (15:52 +0000)]
Fix the rest of the modules to work with the new APR stat structure.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84403 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix mod_rewrite to work with the new APR stat structure.
Ryan Bloom [Fri, 7 Jan 2000 15:50:40 +0000 (15:50 +0000)]
Fix mod_rewrite to work with the new APR stat structure.
Submitted by:  Paul Reder
Reviewed by: Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84402 13f79535-47bb-0310-9956-ffa450edef68

24 years agoNext pass at the time functions. This defines an ap_ansi_time_t which has
Ryan Bloom [Thu, 6 Jan 2000 19:19:39 +0000 (19:19 +0000)]
Next pass at the time functions.  This defines an ap_ansi_time_t which has
a specific format (seconds since 0:00:00 Jan 1, 1970).  I also renamed the
(get|set)_curtime functions to (get|set)ansitime.  This should make more
sense, and be a bit more intuitive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84400 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a minor bug that would cause us to return FORBIDDEN for all requests.
Ryan Bloom [Thu, 6 Jan 2000 19:16:07 +0000 (19:16 +0000)]
Fix a minor bug that would cause us to return FORBIDDEN for all requests.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84399 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSeparate the stat structure from the file structure and use ap_stat and
Ryan Bloom [Thu, 6 Jan 2000 14:43:41 +0000 (14:43 +0000)]
Separate the stat structure from the file structure and use ap_stat and
ap_getfileinfo in apache.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84397 13f79535-47bb-0310-9956-ffa450edef68

24 years agoInitialize all ap_file_t's to NULL. This allows ap_open and ap_stat to
Ryan Bloom [Tue, 4 Jan 2000 19:01:04 +0000 (19:01 +0000)]
Initialize all ap_file_t's to NULL.  This allows ap_open and ap_stat to
work together without causing memory leaks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84393 13f79535-47bb-0310-9956-ffa450edef68

24 years agoTry and address concerns about the use of the name.
brian [Fri, 31 Dec 1999 23:11:17 +0000 (23:11 +0000)]
Try and address concerns about the use of the name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84387 13f79535-47bb-0310-9956-ffa450edef68

24 years agoA few more tweaks to finish the modules work. Now, all of the modules
Ryan Bloom [Fri, 31 Dec 1999 20:32:36 +0000 (20:32 +0000)]
A few more tweaks to finish the modules work.  Now, all of the modules
compile correctly with Apache 2.0. This does run, but it hasn't been tested
any more than simply compiling and running the server.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84386 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake mod_unique_id compile again with Apache 2.0.
Ryan Bloom [Fri, 31 Dec 1999 19:03:18 +0000 (19:03 +0000)]
Make mod_unique_id compile again with Apache 2.0.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84385 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake mod_usertrack compile cleanly. Not tested yet.
Ryan Bloom [Fri, 31 Dec 1999 17:39:42 +0000 (17:39 +0000)]
Make mod_usertrack compile cleanly.  Not tested yet.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84384 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix a bug in mod_status. ap_ht_time expects an ap_time_t type, instead of
Ryan Bloom [Fri, 31 Dec 1999 17:38:25 +0000 (17:38 +0000)]
Fix a bug in mod_status.  ap_ht_time expects an ap_time_t type, instead of
a time_t now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84383 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate these modules to Apache 2.0. Not tested, but they compile again.
Ryan Bloom [Fri, 31 Dec 1999 17:06:15 +0000 (17:06 +0000)]
Update these modules to Apache 2.0.  Not tested, but they compile again.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84382 13f79535-47bb-0310-9956-ffa450edef68

24 years agoUpdate mod_auth_dbm to work with Apache 2.0. This has not been tested,
Ryan Bloom [Fri, 31 Dec 1999 17:04:58 +0000 (17:04 +0000)]
Update mod_auth_dbm to work with Apache 2.0.  This has not been tested,
but at least it compiles now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84381 13f79535-47bb-0310-9956-ffa450edef68

24 years agomerge 1.3 changes to rewrite forward onto 2.0
dgaudet [Fri, 31 Dec 1999 05:05:28 +0000 (05:05 +0000)]
merge 1.3 changes to rewrite forward onto 2.0

Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84379 13f79535-47bb-0310-9956-ffa450edef68

24 years agoport mod_rewrite to 2.0
dgaudet [Fri, 31 Dec 1999 05:03:33 +0000 (05:03 +0000)]
port mod_rewrite to 2.0

Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84378 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet rid of ap_call_exec. It has been #if 0'ed out for a long time, and we
Ryan Bloom [Fri, 31 Dec 1999 01:27:43 +0000 (01:27 +0000)]
Get rid of ap_call_exec.  It has been #if 0'ed out for a long time, and we
never call it, so I'm taking it out all together now.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84377 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSome changes to the ap_strftime function. We now inform the user of the
Ryan Bloom [Thu, 30 Dec 1999 18:31:29 +0000 (18:31 +0000)]
Some changes to the ap_strftime function.  We now inform the user of the
length of the string written, and we return a status code.  I expect the
status code to mean a bit more on Windows than it currently does on Unix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84376 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFall back to save values for SHM_R and SHM_W, if the system does not
Sascha Schumann [Wed, 29 Dec 1999 23:57:53 +0000 (23:57 +0000)]
Fall back to save values for SHM_R and SHM_W, if the system does not
define them.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84375 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix IFS handling. This has the nice side effect that we do not need tr
Sascha Schumann [Wed, 29 Dec 1999 23:53:14 +0000 (23:53 +0000)]
Fix IFS handling. This has the nice side effect that we do not need tr
anymore.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84374 13f79535-47bb-0310-9956-ffa450edef68

24 years ago(APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also
Sascha Schumann [Wed, 29 Dec 1999 23:41:56 +0000 (23:41 +0000)]
(APACHE_INADDR_NONE) Additionally include sys/types.h, if it is available. Also
added confdefs checks for the other included header files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84373 13f79535-47bb-0310-9956-ffa450edef68

24 years agoCleanup the threads check, also resets the CFLAGS and LDFLAGS variables
Ryan Bloom [Fri, 24 Dec 1999 21:22:27 +0000 (21:22 +0000)]
Cleanup the threads check, also resets the CFLAGS and LDFLAGS variables
in cases where no threading library was found.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84370 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix the threads check so it works on non-bash shells.
Ryan Bloom [Fri, 24 Dec 1999 21:12:20 +0000 (21:12 +0000)]
Fix the threads  check so it works on non-bash shells.
Submitted by:   Sascha Schumann
Reviewed by:    Ryan Bloom

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84369 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSubmitted by: Sascha Schumann <sascha@schumann.cx>
rasmus [Fri, 24 Dec 1999 19:04:40 +0000 (19:04 +0000)]
Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by: Rasmus Lerdorf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84368 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSubmitted by: Sascha Schumann <sascha@schumann.cx>
rasmus [Fri, 24 Dec 1999 18:40:27 +0000 (18:40 +0000)]
Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by: Rasmus Lerdorf

    -   INADDR_NONE is not defined. Supply a replacement
    -   APACHE_MODULE() used a non-portable shell construct
    -   inet_addr() needs -lnsl -lsocket. Neccessary checks added
    -   For POSIX conformance, _POSIX_PTHREAD_SEMANTICS is
        required. This fixes i.e. sigwait() problems.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84367 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSubmitted by: Sascha Schumann <sascha@schumann.cx>
rasmus [Fri, 24 Dec 1999 18:35:19 +0000 (18:35 +0000)]
Submitted by: Sascha Schumann <sascha@schumann.cx>
Reviewed by: Rasmus Lerdorf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84366 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFinish the MPM decision logic. This moves the threads checking stuff into
Ryan Bloom [Fri, 24 Dec 1999 18:31:10 +0000 (18:31 +0000)]
Finish the MPM decision logic.  This moves the threads checking stuff into
the mpm directory where it belongs.  It also adds logic so that if threads
aren't detected, we automatically choose to use the prefork mpm.  Lastly,
I also cleaned up a variable name to make it more consistent with the other
variables used in our configure script.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84365 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFirst stab at logic to determine which threading library to use. This also
Ryan Bloom [Thu, 23 Dec 1999 21:01:31 +0000 (21:01 +0000)]
First stab at logic to determine which threading library to use.  This also
gets rid of the hack of always putting -pthread in the CFLAGS variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84363 13f79535-47bb-0310-9956-ffa450edef68

24 years agoThis fixes the bug in my last commit. Apache always caches a value for
Ryan Bloom [Wed, 22 Dec 1999 21:24:45 +0000 (21:24 +0000)]
This fixes the bug in my last commit.  Apache always caches a value for
enable-threads.  This allows us to re-configure the server for different
MPM's without worrying about not having APR-threads available.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84360 13f79535-47bb-0310-9956-ffa450edef68

24 years agoClean up APR's configure script a bit. This commit also allows Apache to
Ryan Bloom [Wed, 22 Dec 1999 20:29:20 +0000 (20:29 +0000)]
Clean up APR's configure script a bit.  This commit also allows Apache to
specify that APR should be built without threads for the prefork MPM.  This
is broken if we then try to configure Apache again using a threaded MPM, but
this is easily fixable, and I will be doing that soon.  Lastly, I removed all
thread calls from APR when it is told to build without threads.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84359 13f79535-47bb-0310-9956-ffa450edef68

24 years agoI don't have to get up before 2PM for almost 2 weeks!
Manoj Kasichainula [Wed, 22 Dec 1999 06:20:11 +0000 (06:20 +0000)]
I don't have to get up before 2PM for almost 2 weeks!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84357 13f79535-47bb-0310-9956-ffa450edef68

24 years ago--include-deps only seems to take advantage of pregenerated
Manoj Kasichainula [Wed, 22 Dec 1999 03:16:37 +0000 (03:16 +0000)]
--include-deps only seems to take advantage of pregenerated
dependencies, and makes the build process refuse to generate them, so
this removes it. It should be used when making a distribution, though.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84356 13f79535-47bb-0310-9956-ffa450edef68

24 years agoRemove a bunch of functions that are being replaced by functions in APR.
Ryan Bloom [Tue, 21 Dec 1999 21:41:53 +0000 (21:41 +0000)]
Remove a bunch of functions that are being replaced by functions in APR.
Also finished porting Apache to use APR in most cases.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84355 13f79535-47bb-0310-9956-ffa450edef68

24 years agoDocumentation update for latest TPF changes
Manoj Kasichainula [Tue, 21 Dec 1999 20:43:49 +0000 (20:43 +0000)]
Documentation update for latest TPF changes

Submitted by: David McCreedy <McCreedy@us.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84353 13f79535-47bb-0310-9956-ffa450edef68

24 years agoChange ap_gm_timestr_822 to ap_timestr. Now, one function can be used to get
Ryan Bloom [Tue, 21 Dec 1999 16:21:44 +0000 (16:21 +0000)]
Change ap_gm_timestr_822 to ap_timestr.  Now, one function can be used to get
a timestr for GMT and Localtimes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84352 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix compile break introduced to Apache 2.0 by the mass vhosting security fix.
Bill Stoddard [Tue, 21 Dec 1999 14:45:53 +0000 (14:45 +0000)]
Fix compile break introduced to Apache 2.0 by the mass vhosting security fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84350 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFix the mass vhosting security problem spotted by Lars, as in 1.3
Tony Finch [Tue, 21 Dec 1999 11:33:23 +0000 (11:33 +0000)]
Fix the mass vhosting security problem spotted by Lars, as in 1.3
Submitted by: Ben Hyde
Reviewed by: Tony Finch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84349 13f79535-47bb-0310-9956-ffa450edef68

24 years ago[insert weather comment here]
Manoj Kasichainula [Tue, 21 Dec 1999 08:26:49 +0000 (08:26 +0000)]
[insert weather comment here]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84348 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd back support for UseCanonicalName in <Directory> containers. Found
Manoj Kasichainula [Tue, 21 Dec 1999 07:54:08 +0000 (07:54 +0000)]
Add back support for UseCanonicalName in <Directory> containers. Found
by Dave Colasurdo <davecola@us.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84347 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd back support for UseCanonicalName in <Directory> containers.
Manoj Kasichainula [Tue, 21 Dec 1999 07:52:51 +0000 (07:52 +0000)]
Add back support for UseCanonicalName in <Directory> containers.
Mistake was found by Dave Colasurdo <davecola@us.ibm.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84345 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe don't need the capability to build an acconfig.h anymore; AC_DEFINE
Manoj Kasichainula [Tue, 21 Dec 1999 07:21:37 +0000 (07:21 +0000)]
We don't need the capability to build an acconfig.h anymore; AC_DEFINE
provides everything we need for equivalent functionality. This change
deletes the intrastructure that built acconfig.h.in before.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84344 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWindows: Can now install/uninstall Apache as a service and start/stop apache via
Bill Stoddard [Mon, 20 Dec 1999 19:52:51 +0000 (19:52 +0000)]
Windows: Can now install/uninstall Apache as a service and start/stop apache via
net start and net stop commands. Not extensively tested, so there may be bugs
in this still.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84343 13f79535-47bb-0310-9956-ffa450edef68

24 years agoGet rid of the C++ style comment.
Bill Stoddard [Mon, 20 Dec 1999 19:16:34 +0000 (19:16 +0000)]
Get rid of the C++ style comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84342 13f79535-47bb-0310-9956-ffa450edef68

24 years agoHandle -k restart|shutdown command line option from http_main.c
Bill Stoddard [Mon, 20 Dec 1999 19:07:33 +0000 (19:07 +0000)]
Handle -k restart|shutdown command line option from http_main.c

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84341 13f79535-47bb-0310-9956-ffa450edef68

24 years agoFirst step in getting Apache to use APR's time libraries. This gets a good
Ryan Bloom [Mon, 20 Dec 1999 16:38:39 +0000 (16:38 +0000)]
First step in getting Apache to use APR's time libraries.  This gets a good
number of them, but I think there are more time values still in the Apache
code.  This works under Linux, but has not been tested anywhere else.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84338 13f79535-47bb-0310-9956-ffa450edef68

24 years agoSpeed up building, by making --disable-shared the default until we put
Manoj Kasichainula [Mon, 20 Dec 1999 05:03:01 +0000 (05:03 +0000)]
Speed up building, by making --disable-shared the default until we put
proper DSO support into the autoconf configuration scripts.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84333 13f79535-47bb-0310-9956-ffa450edef68

24 years agoDon't actually run ./configure in buildconf, it wastes lots of time if
Manoj Kasichainula [Mon, 20 Dec 1999 04:38:26 +0000 (04:38 +0000)]
Don't actually run ./configure in buildconf, it wastes lots of time if
we want to use ./configure's flags, among other things.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84332 13f79535-47bb-0310-9956-ffa450edef68

24 years agoWe actually don't have to remove config.cache, because
Manoj Kasichainula [Mon, 20 Dec 1999 04:34:45 +0000 (04:34 +0000)]
We actually don't have to remove config.cache, because
AC_CONFIG_SUBDIRS redirects APR's config.cache to point to Apache's.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84331 13f79535-47bb-0310-9956-ffa450edef68

24 years agoMake building a little easier by not requiring a separate make of APR.
Manoj Kasichainula [Mon, 20 Dec 1999 04:15:08 +0000 (04:15 +0000)]
Make building a little easier by not requiring a separate make of APR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84330 13f79535-47bb-0310-9956-ffa450edef68

24 years agoEliminate the .h.stub files; AC_DEFINE can generate the necessary
Manoj Kasichainula [Mon, 20 Dec 1999 03:09:50 +0000 (03:09 +0000)]
Eliminate the .h.stub files; AC_DEFINE can generate the necessary
#defines in the config header for us.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84329 13f79535-47bb-0310-9956-ffa450edef68