Re: [PATCH 40026] ServerTokens Off

2006-08-20 Thread Rasmus Lerdorf
Sebastian Nohn wrote: I fear that many users of Apache would actually turn off the Server header for no or for the wrong reasons (which may "harm" our market share), and therefore I'm -1 on including this patch. It would not change apaches market share. If you are talking about netcraft (and si

Re: [VOTE] Apache HTTP Server 1.3.36 Candidate

2006-05-14 Thread Rasmus Lerdorf
Jim Jagielski wrote: Please test and vote on releasing Apache httpd 1.3.36 Download from: http://httpd.apache.org/dev/dist/ Changes: http://httpd.apache.org/dev/dist/CHANGES_1.3 Works ok on Debian-unstable with the standard set of Debian patches applied. It might be time to roll in

Re: Laying undead myths to rest

2006-05-10 Thread Rasmus Lerdorf
William A. Rowe, Jr. wrote: Joseph Dane wrote: Joshua Slive <[EMAIL PROTECTED]> writes: In very early versions of the Apache HTTP Server, the AddType directive was also used to activate special server-side processing (such as mod_include or PHP) by assigning "magic" MIME types to files. This

Re: non-detaching httpd

2005-07-09 Thread Rasmus Lerdorf
Enrico Weigelt wrote: > Hi folks, > > > I'd like to stop httpd from detaching itself, so I can start > it from init. > > How can this be done ? httpd -X if you want a single non-forking non-detached process httpd -F if you just want the main process to be non-detached and still hav

Re: Post-2.2 Thoughts

2005-05-07 Thread Rasmus Lerdorf
Paul Querna wrote: > So, here is my short-list-made-up-this-afternoon of things I would like > to look at doing after 2.2 is branched/released as GA. I welcome > additions too. > > 1) Eliminate the HTTP in HTTPD. I would like to be able to compile > httpd with --disable-http. Currently the 'htt

Re: Listen-Protocol Branch

2005-05-06 Thread Rasmus Lerdorf
Paul Querna wrote: > The Problem: > > We do not know what protocol will be used to handle a connection until > runtime. We currently cannot determine this at startup. > > > This results in: > > Primary: Accept Filters and TCP_DEFFER_ACCEPT are currently not used > correctly. The 'httpready' a

Re: Accept Filters, was Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Paul Querna wrote: In real life, I don't believe this is detrimental, since if the accf_http filter sees data it doesn't understand, it acts just like accf_data -- and mod_ssl reads the data just like normal. Hrm.. I am not sure I am convinced of that based on what I have seen on some misconfigur

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Paul Querna wrote: Rasmus Lerdorf wrote: Ivan Barrera A. wrote: I haven't been able to enable acceptfilters on linux. Where can i get a howto or some info ? Sorry, I led you slightly astray. SO_ACCEPTFILTER is for FreeBSD. In Linux the option is referred to as TCP_DEFER_ACCEPT and I

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Nick Kew wrote: I have some recollection of that problem, but not the solution. It's actually somewhat topical for my client right now. You and Paul have told us about FreeBSD and Linux; is there also a Solaris equivalent? (probably not required as they're gradually upgrading it to Linux, but wou

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Ivan Barrera A. wrote: I haven't been able to enable acceptfilters on linux. Where can i get a howto or some info ? Sorry, I led you slightly astray. SO_ACCEPTFILTER is for FreeBSD. In Linux the option is referred to as TCP_DEFER_ACCEPT and I don't actually think this is implemented in the publ

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Nick Kew wrote: Turn on accept filtering and this problem goes away. Or at least it moves to be a kernel-level issue instead of an Apache one. How does that work with large requests? Doesn't the whole principle leave you the choice of just moving the DOS attack or breaking pipelining? You mean th

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Ivan Barrera A. wrote: How about linux ? how about Windows ? how about (put your favorite OS here) ? Linux has SO_ACCEPTFILTER which doesn't trigger the accept until there is data, so accept filtering works on Linux too. Windows? No idea. But I bet an Apache DoS would be the least of your worri

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Ivan Barrera A. wrote: It doesn't. How so? With accept filtering, simply opening up the socket doesn't trigger Apache in any way, so how is Apache DoS'ed in that case? And under FreeBSD with the httpready filter you can trickle really slow requests over the socket and Apache still won't see an

Re: Timeout for requests

2005-05-03 Thread Rasmus Lerdorf
Turn on accept filtering and this problem goes away. Or at least it moves to be a kernel-level issue instead of an Apache one. -Rasmus Ivan Barrera A. wrote: Hi... I'm still fighting (probably for a lost cause.. but my boss ask me to do this). In the socket activity there are some troubles dea

Re: Puzzling News

2005-03-16 Thread Rasmus Lerdorf
William A. Rowe, Jr. wrote: For anyone who wants to argue that this is a PHP-caused anomaly, note also http://www.securityspace.com/s_survey/data/man.200501/apachemods.html -10% followed by +11% the following month: http://www.securityspace.com/s_survey/data/man.200502/apachemods.html Big swings li

Re: UNIX MPMs

2005-02-10 Thread Rasmus Lerdorf
Paul A. Houle wrote: On Linux I've done some benchmarking and found that worker isn't any faster than prefork at serving static pages. (Is it any different on other platforms, such as Solaris?) In principle you might save RAM by running prefork, but in this day and age you can fit 16

Re: Warning from accept filters on startup

2005-01-13 Thread Rasmus Lerdorf
On Wed, 12 Jan 2005, Paul Querna wrote: > - The entire AcceptFilter/TCP_DEFER_ACCEPT code needs to be refactored > to properly work with different protocols. Has anybody here had a look at implementing httpready for Linux or is the 'just use Tux' camp still winning this one? I had a quick look, b

Re: Dumb APR_BUCKET_BUFF_SIZE question

2005-01-08 Thread Rasmus Lerdorf
Cliff Woolley wrote: It might be. We've considered having it be configurable before. There are just a lot of implications in changing the value; for example, it affects the memory footprint of the server, it affects how much data gets read in to memory per read() call on a file bucket (which migh

Re: Dumb APR_BUCKET_BUFF_SIZE question

2005-01-07 Thread Rasmus Lerdorf
Cliff Woolley wrote: On Fri, 7 Jan 2005, Rasmus Lerdorf wrote: Why is it hardcoded to be 8000? It would seem like you could easily be unlucky and just miss the cutoff and end up with a 6000 byte heap bucket followed by a 3000 byte transient bucket, for example, as a result of 3 3000 byte

Dumb APR_BUCKET_BUFF_SIZE question

2005-01-07 Thread Rasmus Lerdorf
Why is it hardcoded to be 8000? It would seem like you could easily be unlucky and just miss the cutoff and end up with a 6000 byte heap bucket followed by a 3000 byte transient bucket, for example, as a result of 3 3000 byte ap_rwrites. For that particular case it might be quite beneficial t

Re: How to change ap_document_root variable from a apache2 module ?

2004-12-30 Thread Rasmus Lerdorf
On Thu, 30 Dec 2004, Paul Querna wrote: > Rasmus Lerdorf wrote: > [snip] > >>Hint: document root is a configuration value used *by default* in > >>filename translation. Any module can implement its own translation > >>hook, but trying to change a core configurat

Re: How to change ap_document_root variable from a apache2 module ?

2004-12-30 Thread Rasmus Lerdorf
On Fri, 31 Dec 2004, Nick Kew wrote: > On Thu, 30 Dec 2004, Rasmus Lerdorf wrote: > > > Nobody is saying anything about doing it anywhere within a request. > > Huh? What are you smoking? > > > obviously you can't change the doc_root after the fact, but I see no &g

Re: How to change ap_document_root variable from a apache2 module ?

2004-12-30 Thread Rasmus Lerdorf
On Fri, 31 Dec 2004, Nick Kew wrote: > On Thu, 30 Dec 2004, Paul Querna wrote: > > > > Just sets the root server's docroot then now. Not being able able to > > > manipulate the document_root is a rather severe limitation as far as I am > > > concerned. > > > > I agree. But to fix it properly, we n

Re: How to change ap_document_root variable from a apache2 module ?

2004-12-30 Thread Rasmus Lerdorf
On Thu, 30 Dec 2004, Paul Querna wrote: > It is impossible with the current way virtual hosts and document roots > are handled. I guess doing it per-conf Apache1-style, as in: conf = ap_get_module_config() conf->ap_document_root = ...; Just sets the root server's docroot then now. Not being

Re: Time for 1.3.32 ?

2004-09-08 Thread Rasmus Lerdorf
On Wed, 8 Sep 2004, [ISO-8859-15] André Malo wrote: > Actually I'm talking about the two proposals on the top. If you are > interested in backport voting, you need to touch the STATUS file anyway and > should follow the commits there. I'd still suggest posting them here. Until the lawyers here fi

Re: Time for 1.3.32 ?

2004-09-08 Thread Rasmus Lerdorf
On Wed, 8 Sep 2004, [ISO-8859-15] André Malo wrote: > * Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > In general, people don't look for 1.3 patches in the 2.0 STATUS file > > and vice-versa :) > > As far as I can see, the current way to make changes is 2.1 -> 2.0 -> 1.3. > So it makes sense for m

Re: Time for 1.3.32 ?

2004-09-07 Thread Rasmus Lerdorf
On Tue, 7 Sep 2004, [ISO-8859-15] André Malo wrote: > * Jim Jagielski <[EMAIL PROTECTED]> wrote: > > > I'd like to propose a 1.3.32 release with a T&R either late this > > week or early next. > > Sounds good. > Though I'd like to point to the 2.0 status file, where a bugfix (to 2.0 > and 1.3) is wa

Re: [PATCH] backport static module checking in mod_so to 1.3

2004-09-07 Thread Rasmus Lerdorf
On Tue, 7 Sep 2004, Geoffrey Young wrote: > the attached patch is a direct port of the logic from 2.0 to 1.3. thoughts > or insights on why this wouldn't be a good idea for 1.3 or other feedback > appreciated. Seems like a good idea to me. -Rasmus

Re: [PATCH] "better" method of ap_set_keepalive being multicall safe

2004-08-28 Thread Rasmus Lerdorf
I had used the same approach but just had it external. Putting it inside is a better idea. I still think it is dumb that this isn't called at a much earlier stage, but changing that is more likely to break stuff than this approach. -Rasmus On Sat, 28 Aug 2004, Jim Jagielski wrote: > Here is, I

Re: cvs commit: apache-1.3/src/main http_protocol.c http_request.c

2004-08-27 Thread Rasmus Lerdorf
On Fri, 27 Aug 2004 [EMAIL PROTECTED] wrote: >/* > + * We need to ensure that r->connection->keepalive is valid in > + * order to determine if we can discard the request body below. > + */ > +ap_set_keepalive(r); I realize you probably just took my wording there, bu

Re: cvs commit: apache-1.3/src/main http_protocol.c http_request.c

2004-08-27 Thread Rasmus Lerdorf
Yeah, I am not keen on the notes table approach either. My original patch to fix this didn't do that. Not that my patch was great either. The problem with calling ap_set_keepalive() multiple times is that the function doesn't just set the keepalive flag, it also increments the connection's keepa

Re: Time for 1.3.32 ?

2004-08-20 Thread Rasmus Lerdorf
On Fri, 20 Aug 2004, Jim Jagielski wrote: > I'm reviewing this... I'm mostly investigating whether > the check for keepalive!=1 before calling ap_set_keepalive > in ap_send_http_header and ap_send_error_response is > too ap_die() specific. It seems to me that > ap_set_keepalive should be smarter in

Re: Time for 1.3.32 ?

2004-07-08 Thread Rasmus Lerdorf
. */ On Tue, 6 Jul 2004, Jim Jagielski wrote: > Yes, we do, and we're still waiting for a patch. However, > I can't see us delaying 1.3.32 for an "unreasonable" > amount of time. > > On Jul 5, 2004, at 10:54 AM, Rasmus Lerdorf wrote: > > > W

Re: Time for 1.3.32 ?

2004-07-05 Thread Rasmus Lerdorf
We still have that outstanding issue of conn->keepalive being bogus in ap_die() because it hasn't been set yet and thus we can't discard the request body in situations where we really need to. See my previous long explanation of that problem. -Rasmus On Sat, 3 Jul 2004, Jim Jagielski wrote: > L

Re: 1.3.31 regression affecting Front Page?

2004-06-10 Thread Rasmus Lerdorf
On Wed, 9 Jun 2004, Jim Jagielski wrote: > On Jun 9, 2004, at 3:24 PM, Rasmus Lerdorf wrote: > > I guess what we are agreeing on here is that the logic that sets > > keepalive > > to 0 is faulty and that is probably where the real fix lies. > yeah... it's pr

Re: 1.3.31 regression affecting Front Page?

2004-06-09 Thread Rasmus Lerdorf
On Wed, 9 Jun 2004, Joe Orton wrote: > When ap_die() is called, ap_set_keepalive() has not been called, and > r->connection->keepalive is set to 0, as it was initialized so. > > The last thing ap_die does is call ap_send_error_response, which calls > ap_send_http_header, which calls ap_set_keepali

Re: 1.3.31 regression affecting Front Page?

2004-06-09 Thread Rasmus Lerdorf
On Wed, 9 Jun 2004, Joe Orton wrote: > On Wed, Jun 09, 2004 at 09:21:07AM -0700, Rasmus Lerdorf wrote: > > Don't see that anywhere. Either eaten by spam filters or a gerbil. > > > > Anyway, I don't understand why this would have broken mod_dav. If mod_dav >

Re: 1.3.31 regression affecting Front Page?

2004-06-09 Thread Rasmus Lerdorf
#x27;s the one you use to provide HTTPD related > patches). > > On Jun 8, 2004, at 5:10 PM, Rasmus Lerdorf wrote: > > > Uh, I never received anything on this. Did you actually send me > > something? I'll have a look at addressing this issue. Releasing > > 1.3.32 &

Re: 1.3.31 regression affecting Front Page?

2004-06-08 Thread Rasmus Lerdorf
Uh, I never received anything on this. Did you actually send me something? I'll have a look at addressing this issue. Releasing 1.3.32 without this fix would be a nasty backwards step. The original problem this fixes is serious. -Rasmus On Fri, 28 May 2004, Jim Jagielski wrote: > I've bac

Re: Time for 1.3.30?

2004-03-09 Thread Rasmus Lerdorf
On Tue, 9 Mar 2004, Jim Jagielski wrote: > There are a few open patches floating about, but in general I think > we're close to a point where we should seriously consider 1.

Re: Antw: RE: consider reopening 1.3

2003-11-17 Thread Rasmus Lerdorf
On Mon, 17 Nov 2003, Jim Jagielski wrote: > On Nov 17, 2003, at 2:22 PM, Bill Stoddard wrote: > > > > In this economic environment (and perhaps this will turn out to be > > generally true from now on), companies are not making investments in > > IT unless they can get a proven and almost immediat

Re: Antw: RE: consider reopening 1.3

2003-11-17 Thread Rasmus Lerdorf
On Mon, 17 Nov 2003, Jim Jagielski wrote: > Glenn wrote: > > > > On Mon, Nov 17, 2003 at 01:31:55PM -0500, Bill Stoddard wrote: > > > Apache 1.4, an APR'ized version of Apache 1.3 (to pick up IPV6 and 64 bit > > > support) with all the Windows specific code stripped out and source > > > compata

Re: Antw: RE: consider reopening 1.3

2003-11-17 Thread Rasmus Lerdorf
On Mon, 17 Nov 2003, Bill Stoddard wrote: > Apache 1.4, an APR'ized version of Apache 1.3 (to pick up IPV6 and 64 bit support) > with all the Windows > specific code stripped out and source compatability (to the extent possible) with > Apache 1.3 modules would > probably see rapid uptake. I can

Re: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Mon, 17 Nov 2003, Ian Holsman wrote: > I belive 2.0 beats 1.3 on these metrics, but like everyone here, Ihave > no more energy proving/disproving which is faster.. 2.0 works for me, > and thats all I really care about, not who else is using it. Do you really believe this to be true for Apache

RE: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Marc Slemko wrote: > 3. Threading issues. This is a red herring; threading issues can be a > reason why moving to 2.0 wouldn't give someone enough of a reason to make > it worthwhile, but they do not block anyone moving to 2.0. if they > don't want to use threads, they don't

Re: 1.3 Wishlist: (Was: Re: consider reopening 1.3)

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Jim Jagielski wrote: > So a useful topic is: What is *missing* in 1.3 that needs to be > addressed. > What are the features/additions that the disenfranchised 1.3 developers > want to add to 1.3... How about support for chunked compressed responses right in src/main/buff.c w

Re: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Jeff Trawick wrote: > The point was not to blame anybody. Instead, I don't believe there are so many > people as you imply. Many of the people who are no longer developing have > moved on to other interests/work/etc. and have dropped out of httpd dev because > of that. >

Re: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Graham Leggett wrote: > I think the key thing is "bugfixes" compared to "features" and > "architecture changes". > > I am +1 on seeing bugfixes go into v1.3 - people are using it, and if it > can work better, so be it. But to actively encourage people to add > features or a

Re: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Jeff Trawick wrote: > Too bad all these supposedly-disenfranchised people aren't around to review 1.3 > fixes. 1.3 would be healthier if they were. And it is the reason for why they are not around that is in question here. Why wouldn't there be plenty of hackers around for

Re: consider reopening 1.3

2003-11-16 Thread Rasmus Lerdorf
On Sun, 16 Nov 2003, Jeff Trawick wrote: > > *** We need to get back many of the disenfranchised Apache 1.3 developers > > Who are these people? /me raises a hand People have suggested that we have fewer developers today because Apache 2 is too complex. That the crappy economy has reduced the

Re: Changing user ID with prefork

2003-06-21 Thread Rasmus Lerdorf
That's what the perchild mpm is for. You can't do this with prefork. -Rasmus On Sat, 21 Jun 2003, Pablo Yaggi wrote: > Well, sorry if I'm bodering you with this kind of questions, > Using prefork I want to change the user ID that process the request, > that user id will be based on the re

Small optimization patch for 1.3

2003-03-28 Thread Rasmus Lerdorf
In doing a bit of performance tweaking on 1.3, I noticed that ap_send_header_field() does an ap_rvputs() with each little piece of a header which results in separate ap_bwrite() calls for "Primitive", ":", "Value", "crlf" for each header line sent. Rather than having these 1 and 2 character ap_bwr

Re: story posted

2003-02-10 Thread Rasmus Lerdorf
> On to a). The PHP developers have screamed quite loudly about the > failings of Apache2, when, in fact, the largest reason why mod_php will > not work with Apache2 is because it is not a priority for PHP developers. Nobody is screaming. > Personally, my servers run PHP as CGI. Works well. Th

Re: story posted

2003-02-10 Thread Rasmus Lerdorf
Do you really think we don't know this? The point is that at this point we would basically have to mutex every call to every 3rd-party library function since we simply don't know which ones are threadsafe and which ones aren't. And if we lock everything, isn't it simpler to just go prefork and

Re: story posted

2003-02-06 Thread Rasmus Lerdorf
> Perhaps it's best for someone to simply port php4apache to 2.0 and start > moving a little momentum. The thread-safety arguement is a little bogus, > until folks have something to start finding thread-safety bugs. How long > have Win32 users been doing PHP within threaded servers? We have gott

Re: story posted

2003-02-06 Thread Rasmus Lerdorf
> Is it really #1 module?? *sigh* Yup, by far. > From my experience and that of some of programmers I know, PHP people are > very reluctant to admit that they have bugs or fix their bugs. Usually > they find it better to argue that you're the idiot and their code works > (even when it does not)

Re: story posted

2003-02-05 Thread Rasmus Lerdorf
On Wed, 5 Feb 2003, Joshua Slive wrote: > On Wed, 5 Feb 2003, Sascha Schumann wrote: > > Now, we could solve both problems by using a handler and > > the prefork MPM. But then, Apache 2.0+PHP is basically > > Apache 1.3+PHP with a few extra modules thrown in. That's > > how it app

Re: story posted

2003-02-05 Thread Rasmus Lerdorf
> What I think is useful information to people who want PHP+Apache-2.0 is: > > a) is PHP not production ready with Apache 2.0 because it was not high > enough priority for PHP to be tested? That is a big part of it. The fact that the thread-safety of many third-party libraries that can be linke

Re: story posted

2003-02-05 Thread Rasmus Lerdorf
> You can also see text in our bug database from a prominent PHP developer > saying that the filter API needs to be redone from scratch (my > paraphrase). For the enthusiastic PHP users, such comments carry a lot > of weight and imply that PHP isn't production ready with 2.0 not because > no

Re: mod_usertrack patch

2002-11-27 Thread Rasmus Lerdorf
In cvs? But no, it has not. Everyone seems to be ignoring 1.3 these days. -Rasmus On Wed, 27 Nov 2002, Andrei Zmievski wrote: > Where can I check if it's been committed or not? > > On Fri, 22 Nov 2002, Rasmus Lerdorf wrote: > > +1 on committing this. I finally got

Re: mod_usertrack patch

2002-11-22 Thread Rasmus Lerdorf
+1 on committing this. I finally got around to testing it. -Rasmus On Thu, 7 Nov 2002, Andrei Zmievski wrote: > Hello, > > I am submitting a patch to mod_usertrack for your consideration. > This patch was developed here at Fast Search & Transfer for > alltheweb.com and provides the following ch

Re: Apache 1.3 and invalid headers

2002-11-20 Thread Rasmus Lerdorf
You mean when you send a request header that looks something like this? ~> telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.1 Host: localhost Connection: foo HTTP/1.1 200 OK Date: Wed, 20 Nov 2002 22:52:24 GMT Server: Apache/1.3.28-dev (Unix)

Re: PHP POST handling

2002-10-01 Thread Rasmus Lerdorf
> On Tue, Oct 01, 2002 at 04:27:15PM -0400, Ryan Bloom wrote: > > On Tue, 1 Oct 2002, William A. Rowe, Jr. wrote: > > > > > At 01:12 PM 10/1/2002, Greg Stein wrote: > > > >For PHP, we said "make it a filter [so the source can come from anywhere]". > > > >I think we really should have said "for GET

Re: PHP and Apache 1.3 issue ...

2002-09-28 Thread Rasmus Lerdorf
See his domain name. Novell.com On Sat, 28 Sep 2002, Jim Jagielski wrote: > Ramesh Shankar wrote: > > > > Threads? Is this under Win32? > -- > === >Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/

Re: E-Kabong resolution: Re: acceptance of El-Kabong into APR

2002-09-11 Thread Rasmus Lerdorf
> > While we believe that the El-Kabong codebase is a valuable contribution > > that we would like to pick up, we also recognize the possibility that > > you may have a decreased incentive to work on it further if you are > > initially denied commit access to the repository when it moves to the >

Re: Thread safety issues

2002-09-10 Thread Rasmus Lerdorf
Contributions are more than welcome. On Tue, 10 Sep 2002, Cyrille Artho wrote: > Hi, > as someone who works on multi-threaded problems, but not Apache, I ran > into your page at > http://httpd.apache.org/docs-2.0/developer/thread_safety.html > > I strongly suggest to revise it, because it lacks

Re: El-Kabong -- HTML Parser

2002-09-10 Thread Rasmus Lerdorf
> > Which closed doors are those? There has been discussion on the dev list > > and on the board list. Both of which are public lists that you can > > subscribe to. > > All I know of is the PMC list (which is private), but discussion on > board@ (which is also private) is news to me. Well, I ha

Re: El-Kabong -- HTML Parser

2002-09-10 Thread Rasmus Lerdorf
> The ASF is apparently not about working together, since I (and > everyone else who is not on the PMC list) have been entirely left > out of all this conversation which is going on behind closed doors. Which closed doors are those? There has been discussion on the dev list and on the board list

Re: [VOTE] Location of aaa rewrite

2002-09-03 Thread Rasmus Lerdorf
> On Tue, 3 Sep 2002, Rasmus Lerdorf wrote: > > > > On Tue, 3 Sep 2002, Chris Taylor wrote: > > > > > > > -BEGIN PGP SIGNED MESSAGE- > > > > Hash: SHA1 > > > > > > > > > [ ] Check in aaa rewrite to 2.0. >

Re: [VOTE] Location of aaa rewrite

2002-09-03 Thread Rasmus Lerdorf
> On Tue, 3 Sep 2002, Chris Taylor wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > > [ ] Check in aaa rewrite to 2.0. > > > [X] Check in aaa rewrite to 2.1. > > > > My view is that it's important to keep 2.0 stable to attract new > > users, and breaking things all the time w

Re: Is anybody getting CVS commit messages?

2002-08-27 Thread Rasmus Lerdorf
I see them On Tue, 27 Aug 2002 [EMAIL PROTECTED] wrote: > > I realized earlier today that I haven't been seeing commit messages. > > Is anybody getting these messages? > > Ryan > > -- > > ___ > Ryan Bloom

Re: Thread-unsafe libraries in httpd-2.0

2002-08-15 Thread Rasmus Lerdorf
> FWIW, I'm +1 on what Rasmus says - at least for widely used libraries. > Obviously anything internal to PHP is PHP's problem. But anything > everyone uses is our problem. > > However, I would advocate fixing the libraries rather than wrapping them > where possible. Yup, definitely. They aren't

Re: Thread-unsafe libraries in httpd-2.0

2002-08-15 Thread Rasmus Lerdorf
odules you choose to use with the web > server are thread-safe. Please contact your third-party modules' vendors for > more information on their thread-safety." > > -g > > On Thu, Aug 15, 2002 at 10:09:27AM -0700, Justin Erenkrantz wrote: > > On Thu, Aug 15, 2002 a

Re: Thread-unsafe libraries in httpd-2.0

2002-08-15 Thread Rasmus Lerdorf
On Thu, 15 Aug 2002, Justin Erenkrantz wrote: > [ Moving to dev@httpd where this belongs ] > > On Thu, Aug 15, 2002 at 07:10:02AM -0700, Rasmus Lerdorf wrote: > > Correct. From the feedback I am getting, users do not adequately > > understand the implications of choosin

Re: perchild on FreeBSD 5?

2002-08-14 Thread Rasmus Lerdorf
> >If we end up having to mutex, sure, if every request for that domain needs > >to access the mutxed library, then yes, you would only be able to serve up > >one request at a time from that domain. > > > > > > That's not accurate in general. The amount of serialization will depend on > how much

Re[2]: perchild on FreeBSD 5?

2002-08-14 Thread Rasmus Lerdorf
> Hi Rasmus Lerdorf, > you wrote. > > RL> libraries as well. We are going to have to fix a bunch of them and mutex > RL> some others before Apache2 with a threaded MPM will be of any use with PHP > RL> or mod_perl. > > Am I correct assuming that when they are

RE: perchild on FreeBSD 5?

2002-08-13 Thread Rasmus Lerdorf
> > Apache 2 is being pitched as a production-quality web server without any > > mention of the fact that over half of the current Apache sites probably > > should not upgrade at this point. > > Sorry to disagree, Rasmus, but if you're talking about PERCHILD, that's a > threaded MPM that will not

RE: perchild on FreeBSD 5?

2002-08-13 Thread Rasmus Lerdorf
> > I am sure it does, but you also need to recognize that around 40% of all > > Apache installations have PHP on them. And 30% or so have mod_perl. Many > > actually have both, so there is some overlap, but I would say that over > > half of all Apache installs have one or both of PHP or mod_per

RE: perchild on FreeBSD 5?

2002-08-13 Thread Rasmus Lerdorf
> I agree with Pier, the threaded MPM has been a real lifesaver. Supporting > 10,000+ concurrent clients with Apache 1.3 (including some complex modules) > on AIX and Solaris is practically impossible. Quite doable with Apache 2.0 > and the worker MPM. I am sure it does, but you also need to rec

Re: perchild on FreeBSD 5?

2002-08-13 Thread Rasmus Lerdorf
> Hello, > I've more or less accepted that perchild on FreeBSD 4.X isn't going to > happen (as sad as it is, I always considered it to be THE feature [1] in > 2.0 that would warrant an upgrade for us) but what I'd like to know is > if there is any chance to see perchild on FreeBSD 5 which gets who

Re: PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
> On Sat, Jul 06, 2002 at 03:11:20PM -0400, [EMAIL PROTECTED] wrote: > > We just added a new function for all input filters to allow this to be > > done (Justin referenced it in his reply). However, that function doesn't > > solve the problem, because there should be an ap_filter_is_dynamic(r) th

RE: PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
> > What is a dynamic page if not a PHP page? > > Like I said, Apache doesn't know if a file on disk is meant for PHP or > not. The best way to fix this would be for mod_php to set the value if > the filter is added for the request. > > I agree, it would be cool if Apache could set this correctly

RE: PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
> > > Make sure you have AcceptPathInfo On > > > > Argh! Why the heck is that off by default? > > It's on by default for dynamic pages, but there is no way that Apache > can tell that a page is going to be served by PHP, so it is off for what > Apache thinks are static pages. What is a dynamic p

Re: PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
On Sat, 6 Jul 2002, Dale Ghent wrote: > On Sat, 6 Jul 2002, Rasmus Lerdorf wrote: > > | 2.0.40-dev built on June 23rd > > Make sure you have AcceptPathInfo On Argh! Why the heck is that off by default? -Rasmus

Re: PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
2.0.40-dev built on June 23rd On Sat, 6 Jul 2002, Dale Ghent wrote: > On Sat, 6 Jul 2002, Rasmus Lerdorf wrote: > > | The requested URL /index.php/foo was not found on this server. > | > | In Apache1 /index.php would still get passed to PHP and /foo would end up > | in the PA

PATH_INFO in A2?

2002-07-06 Thread Rasmus Lerdorf
With this config: LoadModule php4_modulemodules/libphp4.so AddType application/x-httpd-php .php http://localhost/index.php works fine and parser PHP pages without problems. (using prefork - but it shouldn't matter) However: http://localhost/index.php/foo Gives a 404 and says: The re

Re: Christopher Williamson: URGENT: Bug/compatability issue in Apache 1.3.26

2002-07-03 Thread Rasmus Lerdorf
http://www.apache.org/dist/httpd/patches/ has patches for every released version of Apache 1.2.x and 1.3.x On Wed, 3 Jul 2002, Andrew Ho wrote: > Hello, > > Is there a patch for earlier versions of Apache that fix the chunked > Transfer-Encoding security hole, but nothing else? I know OpenBSD, f

Keepalives in A2?

2002-06-24 Thread Rasmus Lerdorf
With Apache 1.3 all you had to do to get a keep-alive was set your content-length correctly: HTTP/1.1 200 OK Date: Mon, 24 Jun 2002 17:05:04 GMT Server: Apache/1.3.22 (Unix) PHP/4.3.0-dev X-Powered-By: PHP/4.3.0-dev Content-length: 1024 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Conte

Re: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
> * Saying "turn on buffering" is, IMHO, a reasonable solution if you > can make buffering the default in PHP under httpd-2.0. Otherwise, > you'll surprise a lot of users who have been running with the default > non-buffered output using 1.3 and find that all their applications > are far

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
> As it happens, DONE is defined to be -2. :-) Ok, I will use that, but 'DONE' doesn't really give the impression of being a fatal error return value. -Rasmus

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
On Mon, 24 Jun 2002, Cliff Woolley wrote: > On Mon, 24 Jun 2002, Rasmus Lerdorf wrote: > > > Hrm.. Nope. doing 'return DECLINED' from the post_config phase does not > > stop the server from starting. I have this: > > I thought you were supposed to return HTTP_

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
On Mon, 24 Jun 2002, Rasmus Lerdorf wrote: > > > What is the correct way to fail in a filter post_config? Do I return > > -1 > > > from it if my filter finds a fatal error? I can't use ap_log_rerror() > > at > > > this point, right? How would I

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
> > What is the correct way to fail in a filter post_config? Do I return > -1 > > from it if my filter finds a fatal error? I can't use ap_log_rerror() > at > > this point, right? How would I log the reason for the failure? > > I'm confused by the question, but I'll try to answer. If you mean

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
> Runtime is harder, but you can just use ap_mpm_query to get the MPMs > characteristics. This won't give you the MPM name, but it will let you > know if the MPM is threaded or not. What is the correct way to fail in a filter post_config? Do I return -1 from it if my filter finds a fatal error?

RE: Apache 2.0 Numbers

2002-06-24 Thread Rasmus Lerdorf
> > > It would be nice > > > if there was an apxs flag that would return the MPM type. > > > > +1 > > There is. -q will query for any value in config_vars.mk, and MPM_NAME > is in that file. So `apxs -q MPM_NAME` will return the configured MPM > type. Ah right. Is there a way to check at runti

Apache 2.0 Numbers

2002-06-23 Thread Rasmus Lerdorf
Someone asked me for numbers when I mentioned the other day that Apache 2-prefork was really not a viable drop-in replacement for Apache 1.3 when it comes to running a PHP-enabled server. Apache 1.3 is still significantly faster than Apache2-prefork for both static and dynamic content. Now, part

Karma please

2002-06-23 Thread Rasmus Lerdorf
Could someone karma me for apache-2.0 please? -Rasmus

Re: I asked this on the freebsd-general list...

2002-06-18 Thread Rasmus Lerdorf
On Tue, 18 Jun 2002, Rick Kukiela wrote: > In the last episode (Jun 17), Rick Kukiela said: > > I asked on the apache-dev list about when perchild processing will work on > > freebsd and this was the response i got: > > > > "It will never work with FreeBSD 4.6. Perchild requires a good threading

Re: Need a new feature: Listing of CGI-enabled directories.

2002-05-30 Thread Rasmus Lerdorf
mod_info will tell you some of this. ie. Look for ScriptAlias lines under mod_alias.c and AddHandler cgi-script lines under mod_mime.c. But you are fighting a bit of a lost cause here. If you allow users to upload arbitrary cgi scripts there really isn't much you can do at the Apache level. It

Re: Odd URL (mis)behavior in 2.0

2002-05-17 Thread Rasmus Lerdorf
> Right now PATH_INFO is not automatically passed to PHP scripts in the > Apache 2.0 module for PHP. I have a patch on my plate that enables it > by default, but for now you can add "AcceptPathInfo On" to the directory > or location sections where you want it to work. That should go in. Why woul

  1   2   >