Commit Graph

1322 Commits

Author SHA1 Message Date
a04b640f67 `-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
2000-01-12 16:55:58 +00:00
25cf1b6402 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
2000-01-12 15:54:46 +00:00
5288c0fb16 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
2000-01-12 01:18:07 +00:00
ff4d0f2ecd 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
2000-01-11 17:28:28 +00:00
bbe1a3601e 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
2000-01-11 13:11:13 +00:00
ffb8b69b2e Update .cvsignore files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84422 13f79535-47bb-0310-9956-ffa450edef68
2000-01-11 13:04:01 +00:00
0df3ec32ca 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
2000-01-10 15:35:51 +00:00
faff1f01dd 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
2000-01-09 05:18:31 +00:00
e9f223a67c add missing compatiblity info
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84411 13f79535-47bb-0310-9956-ffa450edef68
2000-01-08 19:57:29 +00:00
b69b2f1030 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
2000-01-08 14:50:14 +00:00
2dbb9e6e0a 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
2000-01-07 20:38:06 +00:00
cc8d863fa0 it's -> its
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84405 13f79535-47bb-0310-9956-ffa450edef68
2000-01-07 16:38:08 +00:00
14f8518012 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
2000-01-07 15:52:21 +00:00
357c568783 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
2000-01-07 15:50:40 +00:00
4870d9eb75 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
2000-01-06 19:19:39 +00:00
9dd20c0030 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
2000-01-06 19:16:07 +00:00
8f26ac7df4 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
2000-01-06 14:43:41 +00:00
528afcc4d6 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
2000-01-04 19:01:04 +00:00
d453b6e198 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
1999-12-31 23:11:17 +00:00
7cb6de58a7 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
1999-12-31 20:32:36 +00:00
25d42e7ec0 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
1999-12-31 19:03:18 +00:00
ef535bcae8 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
1999-12-31 17:39:42 +00:00
0a9c7310ce 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
1999-12-31 17:38:25 +00:00
ca4788f237 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
1999-12-31 17:06:15 +00:00
7a25914677 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
1999-12-31 17:04:58 +00:00
6a9959af88 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
1999-12-31 05:05:28 +00:00
c7edfe8f9f 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
1999-12-31 05:03:33 +00:00
6786681590 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
1999-12-31 01:27:43 +00:00
7c7d0b0f43 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
1999-12-30 18:31:29 +00:00
c434846940 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
1999-12-29 23:57:53 +00:00
ca9065bb08 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
1999-12-29 23:53:14 +00:00
5ba4711862 (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
1999-12-29 23:41:56 +00:00
f6044a399a 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
1999-12-24 21:22:27 +00:00
ad82790133 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
1999-12-24 21:12:20 +00:00
83c8f02d26 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
1999-12-24 19:04:40 +00:00
191c4462f1 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
1999-12-24 18:40:27 +00:00
cf09b66786 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
1999-12-24 18:35:19 +00:00
ef6a9f850c 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
1999-12-24 18:31:10 +00:00
84f9b5d2c6 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
1999-12-23 21:01:31 +00:00
a3a24e14b8 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
1999-12-22 21:24:45 +00:00
3f4fe1cea0 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
1999-12-22 20:29:20 +00:00
e672e9dd4b 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
1999-12-22 06:20:11 +00:00
6e5e06b2bb --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
1999-12-22 03:16:37 +00:00
53e662b1f2 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
1999-12-21 21:41:53 +00:00
ce25587528 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
1999-12-21 20:43:49 +00:00
ed4c96e92d 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
1999-12-21 16:21:44 +00:00
c60be447ce 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
1999-12-21 14:45:53 +00:00
5ef2a1ecd3 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
1999-12-21 11:33:23 +00:00
2d433bb196 [insert weather comment here]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84348 13f79535-47bb-0310-9956-ffa450edef68
1999-12-21 08:26:49 +00:00
319baedbb6 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
1999-12-21 07:54:08 +00:00