Re: httpd 1.3 running processes mem usage

2003-08-14 Thread Austin Gonyou
Thanks so much. We've got much less confusion about this now. Good link,
btw. 

On Wed, 2003-08-06 at 13:07, Justin Erenkrantz wrote:
[...]
 Linux uses optimistic memory allocation.  Therefore, vmSize will be
 what has 
 been asked for, but may not be allocated (or is swapped to disk). 
 vmEXE will 
 most likely be shared across all of the httpd processes (copy on
 write).
 
 I'd be most concerned about vmRSS which is the resident memory size -
 it is 
 how much is in physical memory.
 
 I Feel Lucky on RSS memory size yields:
 
 https://www.redhat.com/archives/redhat-list/2002-February/msg01128.html
 
 That has a bit more information.  -- justin
-- 
Austin Gonyou [EMAIL PROTECTED]
Coremetrics, Inc.


httpd 1.3 running processes mem usage

2003-08-07 Thread Austin Gonyou
If I have a Linux server using httpd 1.3 and has 1GB ram and has 1012
httpd processes. When I look at that process's ram stats, I have a
vmSize of say 7032KB, vmRSS of 2056KB, and  vmEXE of 2072KB. 

Is the size I'm most concerned with when looking at per/process memory
utilization going to be vmSize? We're trying to tune our servers a bit
better until we're ready to move to httpd2, which will sometime at the
beginning of 2004. But help around this diagnosis would be appreciated.

TIA.

-- 
Austin Gonyou [EMAIL PROTECTED]
Coremetrics, Inc.


Quick question.

2002-07-27 Thread Austin Gonyou

Anyone ever seen a browser report Error -12263 when connecting to
apache via SSL? I've never seen this error, and we've never gotten it
before, so I was curious. TIA.


-- 
Austin Gonyou [EMAIL PROTECTED]
Coremetrics, Inc.



Re: mod_rewrite improved?

2002-05-03 Thread Austin Gonyou

Should mod_include/mod_rewrite become a merge at some point or are they
too different?

On Fri, 2002-05-03 at 09:01, Cliff Woolley wrote:
 On Fri, 3 May 2002, Tahiry Ramanamampanoharana wrote:
 
  With with APR's optional functions, it's possible to create my own
  mod_rewrite optional function. All I have to do is write an optional
  function and have mod_rewrite look in the optional functions' hash
 table
  for it. I was wondering if this feature can be added as a standard to
  mod_rewrite in the next releases of Apache 2. Right now, each time I
  switch to a new version, I have to remake the modifications.
 
 +1... that sounds like a fabulous idea!!  :)  It would be very similar
 to
 what mod_include is now capable of in both design and implementation, I
 think.
 
 --Cliff
 
 
 --
Cliff Woolley
[EMAIL PROTECTED]
Charlottesville, VA
 
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: mod_rewrite improved?

2002-05-03 Thread Austin Gonyou

AhhhI took your comparison to mean that much of the underlying bits
were similar, thus my query. 

I've looked at both modules and wasn't quite sure how they could be
*that* similar, so I had to ask. :) 

On Fri, 2002-05-03 at 09:42, Cliff Woolley wrote:
 On 3 May 2002, Austin Gonyou wrote:
 
  Should mod_include/mod_rewrite become a merge at some point or are
 they
  too different?
 
 Whoa... totally different.  mod_include parses documents, mod_rewrite
 manipulates URLs.  When I said it was similar, what I meant was that
 they
.
NP!
 
 So mod_include already does this, mod_rewrite should as well.  Right now
 mod_rewrite does a big if/elseif/elseif/.../ set of strcmps.  If it just
 did a hash table lookup instead, we'd be set!
 
 --Cliff
 
 
 --
Cliff Woolley
[EMAIL PROTECTED]
Charlottesville, VA
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: mod_rewrite improved?

2002-05-03 Thread Austin Gonyou

I could see a benefit here if the functions themselves were likenable,
but they don't appear to be anyway, since the modules perform very
different operations for use within Apache. 

The thing that could be gained though, by say, mod_include having the
ability is to enable mod_include to do the parsing itself, instead of
employing another module. 

This is really futile to do anyway though since Apache works just great
the way it is with mod_rewrite and mod_include doing their own things.
:) 

On Fri, 2002-05-03 at 10:24, Jim Jagielski wrote:
 Austin Gonyou wrote:
  
  Should mod_include/mod_rewrite become a merge at some point or are
 they
  too different?
  
 
 I would hope not. I cannot see having to bother with the nasty overhead
 of mod_rewrite to do some simple mod_include functionality.
 
 I'd -1 this.
 
 -- 
 
 ===
Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
   A society that will trade a little liberty for a little order
  will lose both and deserve neither - T.Jefferson
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: [Patch] Concept: have MPM identify itself in Server header

2002-05-03 Thread Austin Gonyou

Damn...that's a bonk on the head. It probably should do that huh?


On Fri, 2002-05-03 at 16:30, Sander Temme wrote:
 All, 
 
 The following patch, inline and attached because of possible
 line-wrapping,
 has the prefork MPM announce itself in the Server: header of all
 responses.
 
 Having the MPM identify itself would provide insight in who is using
 Apache
 in which configuration. It would allow groups like netstat to provide
 statistics on MPM usage. The patch changes the Server string of the
 server
 to Server: Apache/2.0.37-dev (Unix) Prefork MPM.
 
 I considered adding the ap_add_version_component to the
 prefork_pre_config
 function rather than register another hook, but that would put the MPM
 string before the base server component which may interfere with statics
 gathering parsers. For the same reason, I didn't put it inside the base
 server string. 
 
 Finally, adding this on a per-MPM basis rather than centrally provides
 the
 flexibility for MPMs to identify themselves in their own way or not at
 all.
 For instance, on platforms that have only one MPM, like Win32, it
 wouldn't
 make a lot of sense to do so. It also keeps core.c free from
 contamination
 as it doesn't have to know about human-readable MPM names.
 
 Any thoughts on this? Good/bad idea, good/bad place/way to put it?
 
 S.
 
 Index: server/mpm/prefork/prefork.c
 ===
 RCS file: /home/cvspublic/httpd-2.0/server/mpm/prefork/prefork.c,v
 retrieving revision 1.262
 diff -u -r1.262 prefork.c
 --- server/mpm/prefork/prefork.c8 Apr 2002 16:57:05 -
 1.262
 +++ server/mpm/prefork/prefork.c3 May 2002 19:50:02 -
 @@ -1244,6 +1244,13 @@
  return OK;
  }
  
 +static int prefork_post_config(apr_pool_t *p, apr_pool_t *plog,
 apr_pool_t
 *ptemp)
 +{
 +ap_add_version_component(p, Prefork MPM);
 +
 +return OK;
 +}
 +
  static void prefork_hooks(apr_pool_t *p)
  {
  /* The prefork open_logs phase must run before the core's, or
 stderr
 @@ -1258,6 +1265,7 @@
  
  ap_hook_open_logs(prefork_open_logs, NULL, aszSucc,
 APR_HOOK_MIDDLE);
  ap_hook_pre_config(prefork_pre_config, NULL, NULL,
 APR_HOOK_MIDDLE);
 +ap_hook_post_config(prefork_post_config, NULL, NULL,
 APR_HOOK_MIDDLE);
  }
  
  static const char *set_daemons_to_start(cmd_parms *cmd, void *dummy,
 const
 char *arg) 
 
 
 -- 
 Covalent Technologies [EMAIL PROTECTED]
 Engineering groupVoice: (415) 536 5214
 645 Howard St. Fax: (415) 536 5210
 San Francisco CA 94105
 
PGP Fingerprint: 1E74 4E58 DFAC 2CF5 6A03  5531 AFB1 96AF B584 0AB1
 
 ===
 This email message is for the sole use of the intended recipient(s) and
 may
 contain confidential and privileged information. Any unauthorized
 review,
 use, disclosure or distribution is prohibited.  If you are not the
 intended
 recipient, please contact the sender by reply email and destroy all
 copies
 of the original message
 ===
 
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Does AB support SSL ATM?

2002-04-29 Thread Austin Gonyou

TIA
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: updated worker, threadpool, and leader/follower performance comparisons

2002-04-29 Thread Austin Gonyou

Damn...this is getting close. It's getting there it looks like. I can't
help but think the final outcome might be a choice of worker OR
leader/follower. I'll take a hit in the CPU to have closer avg load
between worker and leader/follower as well as the requests/sec being
what they are. 

Ohh..if only.. :) 
On Sun, 2002-04-28 at 23:02, Brian Pane wrote:
   With a single listener port (I'll run multi-listener tests later
 today),
  
   MPM  RequestsMean resp.  CPU   CPU
   typeper second   time (ms)   load  utilization
   --
   worker 125037.4   6.1   65%
   leader 117540.0   5.6   61%
   threadpool 101247.1   4.2   47%
 
 with two listeners,
 
 MPM  RequestsMean resp.  CPU   CPU
 typeper second   time (ms)   load  utilization
 --
 worker 107144.3   4.1   51%
 leader  96449.4   3.9   46%
 threadpool  99747.8   3.9   46%
 
 
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Does AB support SSL ATM?

2002-04-29 Thread Austin Gonyou

I'm sorry for the seemingly *dumb* question to the dev list..but as I
see that there are ssl bits in ab.c, and after compiling apache2 with
SSL, and *it* has ssl support, ab is reporting that it doesn't 

TIA.
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Does AB support SSL ATM?

2002-04-29 Thread Austin Gonyou

Please..is anyone seeing this? I need to do some comparison testing..and
I need some info here. TIA.

On Mon, 2002-04-29 at 12:04, Austin Gonyou wrote:
 I'm sorry for the seemingly *dumb* question to the dev list..but as I
 see that there are ssl bits in ab.c, and after compiling apache2 with
 SSL, and *it* has ssl support, ab is reporting that it doesn't 
 
 TIA.
 -- 
 Austin Gonyou
 Systems Architect, CCNA
 Coremetrics, Inc.
 Phone: 512-698-7250
 email: [EMAIL PROTECTED]
 
 It is the part of a good shepherd to shear his flock, not to skin it.
 Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Can AB actually work with ssl?

2002-04-29 Thread Austin Gonyou

yes, I read ab.c darnit!

I get the following when trying to run ab from httpd-2.0.35:
SSL not compiled in; no https support

Here is what it's compiled with:

/bin/sh
/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr/libtool 
--silent --mode=link gcc  -g -O2 -pthread-DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER  
-DUSE_SSL  -I/data/build/CoreApache/2.0/testing/openssl-0.9.6c/ -I. 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/os/unix 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/server/mpm/worker 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/modules/http 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/modules/proxy 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/include 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr/include 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr-util/include 
-I/usr/include/openssl 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/modules/dav/main 
-I/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr-util/include 
-export-dynamic-o ab  ab.lo   
/home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr-util/libaprutil.la
 /home/austin/data/build/CoreApache/2.0/testing/httpd-2.0.35/srclib/apr/libapr.la -lm 
-lcrypt -lnsl -ldl -lssl -lcrypto -lgdbm -ldb /usr/lib/libexpat.la

Is that not right?
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: worker MPM bugs (was Re: [PATCH] Possible fix for worker MPMperf ormance problem)

2002-04-25 Thread Austin Gonyou

Is it possible, maybe already done, to *tag* the request in some way as
it is pushed into the stack(queue) and maintain some kind of hash or
other mechanism, based on time(age of request), to pull the oldest first
back out, perform service then discard? 

I suppose that's essentially a FIFO though, isn't it? Well, that
methodology, with possible parallel stacks, one per child, could result
in rather quick servicing of oldest new requests that were receieved
during child spawn time. 

Just curious.


On Thu, 2002-04-25 at 11:57, Aaron Bannert wrote:
 On Thu, Apr 25, 2002 at 11:30:54AM -0400, Bill Stoddard wrote:
  Would someone care to see if this fixes the worker MPM performance
 problem reported
  earlier on the list (request-per-second dropping when clients exceeded
 threadsperchild)?
  This patch defers starting the listener untill -all- the workers have
 started.
 
 I'm not really sure how this would fix the performance problems, and
 given
 the current theory it might even exacerbate it. The current hypothesis
 is that when we run out of available workers in all available children,
 and we are waiting for a new child to be spawned, connections continue
 to be accepted and placed in a queue*, and as such aren't able to be
 immediately serviced as soon as the new child is started.
 
 A simple fix would be to prevent the queue* from accepting more
 connections until there is an idle worker thread available. The reason
 I have hesitated to make this change is because it would alter the
 places where the listener thread may enter blocking calls, and would
 probably break graceful/non-graceful restarts. If I get a little
 time I will try to look in to this again this weekend.
 
 * When I say queue I really mean stack. In thinking about this problem
 over the last few days I realized that we should convert back to a true
 LIFO, otherwise it is possible for a request to sit at the back of the
 stack for a long time before it is serviced.
 
 
 Summary of worker bugs that need to be fixed:
 
 - convert fd_queue back into a LIFO
 - add a counter that blocks ap_queue_pop() until there are available
 workers
   (without breaking restarts/shutdown).
 - add a way to track open socket descriptors; when we get the signal to
   do a hard shutdown of the server, walk down this set and close the fds
   so we can halt any long-running requests.
 
 -aaron
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Performance comparison for worker, leader/follower, and threadpool MPMs

2002-04-22 Thread Austin Gonyou

Sorry for the late response. 

On Sat, 2002-04-20 at 18:05, Brian Pane wrote: 
 Austin Gonyou wrote:
 
... 
 Given that info, is there a way to do:
... 
 Since the switch from mutexes to atomic ops on leader/follower, I'm
 seeing slightly lower mean response times (on par with worker and
 prefork).  The CPU utilization hasn't dropped, but it's still
 competitive
 with prefork.
 
 The main reason I'm asking is that if worker is to be replaced, then
 how
 much longer will it be till Apache 2.0, on *nix is really ready to rock
 with a threaded model?
 
 
 Performance-wise, I think leader/follower might be there already (based
 on its performance compared to prefork).  But it needs more testing.
 
On this point, what is the possibility of leader/follower having another
issue like worker. 25 is ok, 26 is not? (max threads) 

I'm only curious because I never ran into it, wasn't trying to, but I
also run about 50 forks with 20-25 threads max. So I probably never
would've hit the problem to begin with. 

Anyway..TIA.

 --Brian
 

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Performance comparison for worker, leader/follower, and threadpool MPMs

2002-04-19 Thread Austin Gonyou

On Thu, 2002-04-18 at 21:28, Brian Pane wrote:
 Justin Erenkrantz wrote:
 
 Also, while I'm not terribly sure how valuable this might be to you,
...
 
 
 Here are the prefork numbers...
 
 ...I'm going to refocus my efforts on
 turning leader/follower into production-quality code.
 
 --Brian
 
 
 httpd listening on one port:
Requests/  Mean request  CPU CPU
   MPM   second time (ms)loadutilization
 ---
 Threadpool854  55.5 4.8 52%
 Leader/follower   957  39.5 6.8 72%
 Worker892  31.4 7.0 70%
 Prefork   899  32.9 7.3 76%

Given these numbers, it seems that Threadpool is not too shabby, though
the Request Time(ms) is much higher than the others, the CPU utilization
is not and load is not. In terms of increasing capacity without
replacing hardware, over time, that's pretty important.

Given that info, is there a way to do:
1. tweak threadpool so that it uses slightly more CPU, but takes less
time, not to exceed 60% cpu.
2. Tweak leader/follower to use less CPU, sub 60%, generate less load
,sub 5, and maintain or lower it's response time?

The main reason I'm asking is that if worker is to be replaced, then how
much longer will it be till Apache 2.0, on *nix is really ready to rock
with a threaded model?

TIA.
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: leader/follower MPM

2002-04-12 Thread Austin Gonyou

I will test this weekend. 

On Thu, 2002-04-11 at 23:40, Brian Pane wrote:
 The leader/follower code is now in server/mpm/experimental.
 
 The shutdown code needs some work, but otherwise I think it's
 ready for some testing and review.
 
 If you want to try it, ./buildconf; ./configure --with-mpm=leader
 
 --Brian
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: slow apache 2.0

2002-04-09 Thread Austin Gonyou

Have you tried not using su-exec?

On Tue, 2002-04-09 at 11:51, Nick De Decker wrote:
 Hello again,
 
 These are my current worker settings (defaults from standard httpd.conf)
 
 StartServers 2
 MaxClients 150
 MinSpareThreads 25
 MaxSpareThreads 75
 ThreadsPerChild 25
 MaxRequestsPerChild  0
 
 = With these settings apache 2.0 kicks ass, but only if concurrent
 requests
 is lower then 26
 26 = 1000 per second
 27 = 50 per second
 
 I still have to install flood but haven't installed cvs for the moment,
 can
 i find tarballs somewhere ?
 Ab wont be the best benchmark test, but one must admit that the
 performance
 drop between 26 en 27 concurrent connections is horrible.
 
 System : linux 2.4.18 / duron 1000 / 512 mb sdram / udma100 hd
 Apache got compiled with following settings :
 
 ./configure \
 --enable-layout=Apache \
 --enable-so \
 --with-mpm=worker \
 --enable-ssl \
 --with-ssl=/usr/include/openssl \
 --enable-mime-magic \
 --enable-expires \
 --enable-headers \
 --enable-usertrack \
 --enable-http \
 --enable-dav \
 --enable-info \
 --enable-rewrite \
 --enable-speling \
 --enable-auth-anon \
 --enable-cgi \
 --enable-cgid \
 --enable-suexec \
 --with-suexec-caller=apache \
 --with-suexec-docroot=/iVision/users \
 --with-suexec-uidmin=1000 \
 --with-suexec-gidmin=1000 \
 --with-suexec-safepath=/usr/bin:/bin:/iVision/bin:/usr/local/bin
 
 
 Nick
 
 - Original Message -
 From: Aaron Bannert [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 09, 2002 5:18 PM
 Subject: Re: slow apache 2.0
 
 
  On Tue, Apr 09, 2002 at 04:47:02PM +0200, Nick De Decker wrote:
   I'm testing apache 2.0 but i'm having trouble with it.
   Benchmarks show very slow results when the number of concurrent
 users
 get
   high.
   i tested the prefork/worker settings but nothing seems to help.
   tested with ab :
   ab -n 1 -c 1000 http://192.168.1.253/index.html (978 bytes page)
 
  Ab is not very good for testing concurrency. Check out flood for
  somewhat better concurrency (http://httpd.apache.org/test/flood/).
 
  Also, keep in mind that although you'll see better scalability
  with the worker MPM over the classic prefork MPM, the biggest
  improvement will be in memory requirements. I've run 300+ threads
  on my solaris 8 box while only consuming around 20MB.
 
  -aaron
 
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


what replaced --activate-module?

2002-04-09 Thread Austin Gonyou

Is there something that replaced this configure option, or does it still
exist? I don't see it.
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


RE: what replaced --activate-module?

2002-04-09 Thread Austin Gonyou

so for say php 4.1.2, when I do --with-apache2(instead of apxs2) I
shouldn't have to activate the module in apache2 ./configure anymore? 

Is that correct?

On Tue, 2002-04-09 at 13:48, Ryan Bloom wrote:
 To the best of my knowledge, that option has been removed and not
 replaced.  It doesn't really make sense anymore.
 
 Ryan
 
 --
 Ryan Bloom  [EMAIL PROTECTED]
 645 Howard St.  [EMAIL PROTECTED]
 San Francisco, CA 
 
  -Original Message-
  From: Austin Gonyou [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, April 09, 2002 11:45 AM
  To: [EMAIL PROTECTED]
  Subject: what replaced --activate-module?
  
  Is there something that replaced this configure option, or does it
 still
  exist? I don't see it.
  --
  Austin Gonyou
  Systems Architect, CCNA
  Coremetrics, Inc.
  Phone: 512-698-7250
  email: [EMAIL PROTECTED]
  
  It is the part of a good shepherd to shear his flock, not to skin
 it.
  Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


RE: what replaced --activate-module?

2002-04-09 Thread Austin Gonyou

Thanks much!

On Tue, 2002-04-09 at 13:37, Rasmus Lerdorf wrote:
 There is no static library support for PHP with Apache 2 at this point.
 ie. you can only build using --with-apxs2 (if you are lucky)
 
 Sometime down the road we will probably add this, but it definitely will
 not be in 4.2.  Perhaps 4.3.
 
 -Rasmus
 
 On 9 Apr 2002, Austin Gonyou wrote:
 
  so for say php 4.1.2, when I do --with-apache2(instead of apxs2) I
  shouldn't have to activate the module in apache2 ./configure anymore?
 
  Is that correct?
 
  On Tue, 2002-04-09 at 13:48, Ryan Bloom wrote:
   To the best of my knowledge, that option has been removed and not
   replaced.  It doesn't really make sense anymore.
  
   Ryan
  
   --
   Ryan Bloom  [EMAIL PROTECTED]
   645 Howard St.  [EMAIL PROTECTED]
   San Francisco, CA
  
-Original Message-
From: Austin Gonyou [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: what replaced --activate-module?
   
Is there something that replaced this configure option, or does it
   still
exist? I don't see it.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
   
It is the part of a good shepherd to shear his flock, not to skin
   it.
Latin Proverb
  --
  Austin Gonyou
  Systems Architect, CCNA
  Coremetrics, Inc.
  Phone: 512-698-7250
  email: [EMAIL PROTECTED]
 
  It is the part of a good shepherd to shear his flock, not to skin
 it.
  Latin Proverb
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: 1.3.24...

2002-03-21 Thread Austin Gonyou

Just FMI, 
  If I'm on 1.3.23 now, would it behove me to go to this release for any
major reasons?

On Thu, 2002-03-21 at 08:52, Jim Jagielski wrote:
 I'm looking to tag-and-roll 1.3.24 within the hour (11am Eastern)...
 
 -- 
 
 ===
Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
   A society that will trade a little liberty for a little order
  will lose both and deserve neither - T.Jefferson
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: 1.3.24...

2002-03-21 Thread Austin Gonyou

NP. Sorry for the bother. 

On Thu, 2002-03-21 at 11:43, Jim Jagielski wrote:
 CHANGES is your friend :)
 
 Austin Gonyou wrote:
  
  Just FMI, 
If I'm on 1.3.23 now, would it behove me to go to this release for
 any
  major reasons?
  
  On Thu, 2002-03-21 at 08:52, Jim Jagielski wrote:
   I'm looking to tag-and-roll 1.3.24 within the hour (11am Eastern)...
   
   -- 
  
 
   ===
  Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]
 http://www.jaguNET.com/
 A society that will trade a little liberty for a little order
will lose both and deserve neither - T.Jefferson
  -- 
  Austin Gonyou
  Systems Architect, CCNA
  Coremetrics, Inc.
  Phone: 512-698-7250
  email: [EMAIL PROTECTED]
  
  It is the part of a good shepherd to shear his flock, not to skin
 it.
  Latin Proverb
  
 
 
 -- 
 
 ===
Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
   A society that will trade a little liberty for a little order
  will lose both and deserve neither - T.Jefferson
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: Compiling apache2 against glibc 2.2.5

2002-03-08 Thread Austin Gonyou

On Fri, 2002-03-08 at 01:14, Justin Erenkrantz wrote:
 On Thu, Mar 07, 2002 at 05:52:15PM -0600, Austin Gonyou wrote:

  My binaries are portable, and that doesn't seem to be a problem. I'm
  trying to gather information as I continue to try to chase down the
  php4.2-dev + apache2 issue on this target platform. 
 
 What's your problem again?  -- justin

The problem is using PHP on glibc2.2.5 compiled by gcc3 with
apache2.0.32. I can use PHP as a cgi, no problem, but trying to use it
as  .so, is where I have problems. I've also sent another request to the
PHP list in the realm of glibc compiled by gcc3, and if I need to
explicitly specify the libgcc_s info. 

I think that may be part of the issue. 

I've found that PHP 4.2-dev works just fine, with apache 2.0.32, just
not my target.

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: Compiling apache2 against glibc 2.2.5

2002-03-08 Thread Austin Gonyou

Right. I read that as well. There's info in the glibc docs about that.
Anyway, I've found that as LONG as you are using glibc 3.0.3 or 3.0.4,
with glibc 2.2.5, then the compatibility problem goes away. (per the
glibc changelog from 2.2.5)

This is specifically in the realm of 2.2.x, not previous.

On Fri, 2002-03-08 at 04:03, Sascha Schumann wrote:
  My binaries are portable, and that doesn't seem to be a problem. I'm
  trying to gather information as I continue to try to chase down the
  php4.2-dev + apache2 issue on this target platform.
 
 Note that portable (as in can be used on various Linux
 distributions) programs should be built with a glibc-2.1 (or
 even 2.0).  Programs which are built with glibc-2.2.x don't
 necessarily work with older versions, e.g. there is no
 guarantee that a build against 2.2.5 will work with 2.2.4.
 
 - Sascha Experience IRCG
   http://schumann.cx/http://schumann.cx/ircg
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Compiling apache2 against glibc 2.2.5

2002-03-07 Thread Austin Gonyou

Glibc 2.2.5 was compiled with gcc3. This is supposed to be allowable
with glibc 2.2.5, since it was unsupported prior. Does anyone know of
any issues doing this?

My binaries are portable, and that doesn't seem to be a problem. I'm
trying to gather information as I continue to try to chase down the
php4.2-dev + apache2 issue on this target platform. 

TIA.
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: How filters work

2002-03-06 Thread Austin Gonyou

Wow. Thanks!

On Wed, 2002-03-06 at 10:14, Ryan Bloom wrote:
 
 Sander asked me to send an e-mail about how filters are supposed to work
 in the new model, so here it is.
...
 If there are any questions about any of this, please let me know.
 
 Ryan
 --
 Ryan Bloom  [EMAIL PROTECTED]
 645 Howard St.  [EMAIL PROTECTED]
 San Francisco, CA 
 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



RE: 2.0.32 + PHP 4 CVS

2002-02-25 Thread Austin Gonyou

I don't know if you saw the further description of this, but it seems
it's a glibc/gcc problem. The issue only comes when compbining PHP with
apache2 though as a .so. 

this is MPM independant so far. 

On Sat, 2002-02-23 at 16:05, NAIK,ROSHAN (HP-Cupertino,ex1) wrote:
 what is the issue exactly  ?
 
  -Original Message-
  From: Austin Gonyou [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, February 21, 2002 4:18 PM
  To: [EMAIL PROTECTED]
  Subject: 2.0.32 + PHP 4 CVS
  
  
  There may be some issue with PHP Apache2 SAPI and the worker 
  MPM. Since
  that's what I'm using, and was using before too(fyi). I'm going to
  change the MPM and see what that does. Just wanted to give an update. 
  -- 
  Austin Gonyou
  Systems Architect, CCNA
  Coremetrics, Inc.
  Phone: 512-698-7250
  email: [EMAIL PROTECTED]
  
  It is the part of a good shepherd to shear his flock, not to 
  skin it.
  Latin Proverb
  
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: cvs commit: httpd-2.0/server core.c

2002-02-25 Thread Austin Gonyou

I agree that documentation should cover this, but it should also be
displayed in the ./configure if someone chooses that, to say, display a
warning at the end of the configure or some such thing. 

At least there'd be an I told you so in there. 

On Mon, 2002-02-25 at 19:31, Joshua Slive wrote:
 
 On Mon, 25 Feb 2002, Aaron Bannert wrote:
 
  On Mon, Feb 25, 2002 at 04:58:50PM -0800, Brian Pane wrote:
 
   ...or declaring perchild
   experimental-use-only (and thus not critical path for GA) and then
   doing a rewrite at any time.
 
  When we voted on whether perchild was a showstopper or not I
 considered
  that to be equivalent to perchild is experimental, use at your own
 risk.
 
  The real question is: How do we make it very obvious that perchild is
  experimental? A big red WARNING somewhere? Perhaps some code in
  configure.in to detect --with-mpm=perchild?
 
 That's what documentation is for.  If people are going to switch to
 non-default mpms without reading the documentation, they get what is
 coming to them.
 
 And by the way, +1 on fixing perchild now.  I think Ryan should feel
 free
 to do anything he wants to improve the mpm, as long as it doesn't
 involve
 major mucking with non-mpm code.  The only thing that could break is
 perchild, and perchild is broken anyway.
 
 Joshua.
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: compiling apache2.0.32 with gcc 3.0.3 [was PHP4-cvs + 2.0.32]

2002-02-22 Thread Austin Gonyou

Ok..found something interesting. 

PHP + Apache 2.0.32 does not run on glibc 2.2.5. 
(fyi 2.2.5 was compiled with 3.0.3
and my kernel, and binutils, and openssl)

I tarred up an installation of Apache 2.0.32 I made from a different
machine running 2.2.4, compiled from 2.96, as well as the php module I
installed there too.

I found that both modules I have(one compiled using gcc3 and one with
gcc2), do not let httpd start.

I'm not sure where to go from here to find out which half it is, but I'm
going to do the following:

1. not use ssl(which I did on my test setup as well as the glibc 2.2.5
system)
2. minimal configuration and installs of both php and apache2.
e.g. ./configure --prefix=/web/2.0 --enable-so (for apache2)
then ./configure --with-apxs2=/web/2.0/bin/apxs (for php4-cvs)

If that works, then something in the middle is mucking things up, and
I'll try to see what I can do there. 


On Fri, 2002-02-22 at 18:32, Austin Gonyou wrote:
 This works everything is happy, until introducing PHP.
 
 Mind you PHP has been compiled by gcc3 as well.
 I suspect PHP is having a problem being compiled with gcc3. 
 I compiled PHP and Apache 2.0.32 with 2.96-85(RH 7.1 update)
 and all is well.
 
 I'll figure out what the deal is then contact the appropriate parties.
 Just fyi. 
 -- 
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: PHP4 was Re: has anybody seen worker segfaults?

2002-02-20 Thread Austin Gonyou

NP. I am using the CVS as of last night. That's why I'm writing, and
that's why I said 4.1.1, I guess it should've been 4.1.1 :) 

On Wed, 2002-02-20 at 12:19, Justin Erenkrantz wrote:
 On Wed, Feb 20, 2002 at 10:16:03AM -0800, Justin Erenkrantz wrote:
  On Wed, Feb 20, 2002 at 12:03:00PM -0600, Austin Gonyou wrote:
   PHP4.1.1 or  not working?
  
  You have to have the version from CVS in order to get it to
  compile.  -- justin
 
 Err, just to make it clear, you need the latest version of PHP
 from their CVS repository.  We made changes in the .31 timeframe
 to our input filters and they haven't done a release since then.
 DougM committed the relevant fixes to PHP's repository right after
 we changed it here.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: PHP4 was Re: has anybody seen worker segfaults?

2002-02-20 Thread Austin Gonyou

FYI. Not an compilation problem, HTTPD just doesn't do anything, but
doesn't write a log either, and only 1 process is started. 

On Wed, 2002-02-20 at 12:19, Justin Erenkrantz wrote:
 On Wed, Feb 20, 2002 at 10:16:03AM -0800, Justin Erenkrantz wrote:
  On Wed, Feb 20, 2002 at 12:03:00PM -0600, Austin Gonyou wrote:
   PHP4.1.1 or  not working?
  
  You have to have the version from CVS in order to get it to
  compile.  -- justin
 
 Err, just to make it clear, you need the latest version of PHP
 from their CVS repository.  We made changes in the .31 timeframe
 to our input filters and they haven't done a release since then.
 DougM committed the relevant fixes to PHP's repository right after
 we changed it here.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



RE: PHP4 was Re: has anybody seen worker segfaults?

2002-02-20 Thread Austin Gonyou

NP. I'll move it over to that list then. I just wanted to bring it up
here first since I've no output from apache at all. Strace didn't help
much either(no this time). 

Thanks for the info Madhu. If I get an actual fix/resolution for this,
I'll be sure to let everyone know, so we've closure. 


On Wed, 2002-02-20 at 16:13, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
wrote:
 Austin,
   I was working on this some time back, and I don't believe it's a
 Apache problem (it might be a better idea to move it to the PHP mailing
 list)
 
 The problem occurs because of the way the PHP context is handled in
 php_output_filter (sapi_apache2.c).. Here's something that I observed :
 The function php_output_filter() is called  2 times because of the way
 the
 output data is handled by the filter.. 
 - the first time around some sort of initialization is done.
 - during the second round, the data is sent out
 - then i don't know what happens (possibly wrong termination of the o/p
 brigade), and the php_output_filter is called for the third time.. The
 filter knows about such a thing happening, but the code is not written
 properly to handle the situation.. The PHP context (ctx) is corrupted,
 and
 the PHP module bombs - you end up seeing only the parent apache process.
 
 (Due to my limited PHP knowledge) I introduced the following snippet
 just
 before the ap_save_brigade(...) block, and it seems to bring up apache 
 
 if ((ctx-state  0) || (ctx-state  2)) {
 ap_log_error(APLOG_MARK, APLOG_DEBUG,
  0, NULL, PHP : Unrecognized state!);
 return 0;
 }
 
 This is a workaround and not a resolution/fix.. I'd appreciate if
 anybody
 could post a fix for this..
 
 Thanks,
 -Madhu
 
 
 
 
 -Original Message-
 From: Austin Gonyou [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 10:56 AM
 To: [EMAIL PROTECTED]
 Subject: Re: PHP4 was Re: has anybody seen worker segfaults?
 
 
 FYI. Not an compilation problem, HTTPD just doesn't do anything, but
 doesn't write a log either, and only 1 process is started. 
 
 On Wed, 2002-02-20 at 12:19, Justin Erenkrantz wrote:
  On Wed, Feb 20, 2002 at 10:16:03AM -0800, Justin Erenkrantz wrote:
   On Wed, Feb 20, 2002 at 12:03:00PM -0600, Austin Gonyou wrote:
PHP4.1.1 or  not working?
   
   You have to have the version from CVS in order to get it to
   compile.  -- justin
  
  Err, just to make it clear, you need the latest version of PHP
  from their CVS repository.  We made changes in the .31 timeframe
  to our input filters and they haven't done a release since then.
  DougM committed the relevant fixes to PHP's repository right after
  we changed it here.  -- justin
 -- 
 Austin Gonyou
 Systems Architect, CCNA
 Coremetrics, Inc.
 Phone: 512-698-7250
 email: [EMAIL PROTECTED]
 
 It is the part of a good shepherd to shear his flock, not to skin it.
 Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: gone sailing

2002-02-19 Thread Austin Gonyou

Have a good trip!

BTW- digitalroadkill.net will be on 2.0.32 this evening around 10PM CST.
Had a lot of issues with timing yesterday, so my apologies. 

digitalroadkill.net:8080, or 443, if you wish to test. 

RH 7.2-XFS
kernel 2.4.17-xfs-aa
glibc-2.2.5
gcc-3.0.3
openssl-0.9.6c
PHP 4.1.1 or 
HTTPD 2.0.32 with SSL support, worker MPM.
Drupal(may or may not be installed tonight)

AMD 1.333Ghz
IDE disk subsystem
256MB PC 133SDRAM

On Tue, 2002-02-19 at 16:04, Greg Ames wrote:
 ...for about a week and a half, taking a 42' catamaran from Miami to the
 British
 Virgin Islands. httpd on daedalus shouldn't need much attention in the
 mean
 time.  I have a lot of confidence in 2.0.32.  
 
 Greg
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: 2.0.32 is a beta!

2002-02-16 Thread Austin Gonyou

I'm going to rebuild digitalroadkill.net starting tomorrow night up to
RH 7.2 + my own kernel patches + purified gcc/glibc/binutils, etc. 

I'm also going to move drk to Drupal, instead of PHPNuke. 

So hopefully, for testing, I'll have everything up late tomorrow night,
or the next, Feb 18 GMT -0600. 

Please feel free to post test stories, etc. I run worker MPM + ssl + PHP
4.1.1 or . 

Good job, and I can't wait to test it!

On Sat, 2002-02-16 at 13:13, Justin Erenkrantz wrote:
 I have updated /dist/httpd to reflect that 2.0.32 is now a beta.
 2.0.28 files have been moved to old.
 
 Once we have the zip files available, I will wait 24 hours for the
 mirrors to catch up and then the formal announcements will be posted.
 (For the love of all that is good and sane, please don't post to /.
 until we have the zip files and our mirrors can catch up.)
 
 Enjoy and congrats to everyone!  
 
 While I'm not sold on this as a GA (mainly due to some forthcoming
 API changes rather than the stability of the server), I believe we're
 really close.  If we choose to focus on making the next release a GA,
 I think we can do that.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: 2.0.32 as GA candidate? Re: [PROPOSAL] 2.0.32 beta announceme nt

2002-02-16 Thread Austin Gonyou

is that worker mpm? Just curious
On Sat, 2002-02-16 at 13:47, Eli Marmor wrote:
 Ryan Bloom wrote:
...
 
 Being slashdotted, will be also a good heavy-load test for daedalus,
 which runs 2.0.32...  ;-)
 
 -- 
 Eli Marmor
 [EMAIL PROTECTED]
 CTO, Founder
 Netmask (El-Mar) Internet Technologies Ltd.
 __
 Tel.:   +972-9-766-1020  8 Yad-Harutzim St.
 Fax.:   +972-9-766-1314  P.O.B. 7004
 Mobile: +972-50-23-7338  Kfar-Saba 44641, Israel
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: 2.0.32 as GA candidate? Re: [PROPOSAL] 2.0.32 beta announceme nt

2002-02-16 Thread Austin Gonyou

Ahh..yes..now it's clear. Thx!

Well, I'll whack a couple of boxen with ab or httperf and see what I can
get out of it on Linux. :) 

On Sun, 2002-02-17 at 01:28, Justin Erenkrantz wrote:
 On Sun, Feb 17, 2002 at 12:34:31AM -0600, Austin Gonyou wrote:
  is that worker mpm? Just curious
 
 Daedalus (aka www.apache.org) runs FreeBSD.  And, FreeBSD's thread
 support sucks to the point where they are not usable.  So, it's
 running prefork.
 
 We had a concerted effort a few months ago by Aaron, David, and
 myself to see what we could do, and we made some progress, but not
 enough to make it usable.  We dropped it because we each had better
 things to do with our lives.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



Re: suexec and apache2.0

2002-01-05 Thread Austin Gonyou

So then a detection of something like PAM or other authentication
facility or a lookup of the UID against /etc/passwd and group to resolve
UID to UNAME might be in order? Is there a way around that?

On Fri, 2002-01-04 at 19:59, GUMMALAM,MOHAN (HP-Cupertino,ex2) wrote:
 Currently suexec does not seem to work with apache2.0.. well atleast not
 completely.  The problem I seem to run into is with ~user situations.
 Looks
 like the suexec code (suexec.c) expects to make a distinction between
 ~user
 calls from others by inspecting for the ~ character.  However, in
 os/unix/unixd.c, the userid passed to suexec program is a numerical
 string
 (string of numbers, corresponding to uid_t of the ~user).  As a result,
 suexec always bails out for every ~user calls with the following error
 message in suexec_log file:
 
 command (/home/user/public_html/showuser.cgi) not in docroot
 (/usr/local/apache2)
 
 I have made some fix and it works.  I could post the patch(es) if
 required.
 The files changed for this are:
 os/unix/unixd.c
 os/unix/unixd.h
 modules/generators/mod_suexec.c
 modules/generators/mod_suexec.h
 
 1. Change the return type of get_suexec_id_doer to
unixd_config_rec (originally ap_unix_identity_t).
 2. Modify get_suexec_id_doer to return user string
in the cfg-ugid.user_name structure, if the URI contains ~.
 3. Call the suexec program with ~user string if required,
otherwise call it with uid_t of the user specified in the
SuexecUserGroup directive in httpd.conf (the original behaviour).
 
 If someone has a better solution, please post it.
 Thanks,
 M
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2002-01-02 Thread Austin Gonyou

Thanks for everyone's suggestions, but it's just not working.
I recently installed the new 2.0.30-dev with PHP and ssl. All working
nicely. And I tried again. 

http://digitalroadkill.net:8080/Galleries

versus 

http://digitalroadkill.net:8080/Gallieries/

One produces a timeout, the other doesn't. 

I'll turn my logs up to debug and see if I can see anything. I haven't
been able to so far. I'm using worker MPM on Linux. 
glibc 2.2.4, gcc 3.0.2 compiled.

Thanks again. 

On Mon, 2001-12-31 at 17:53, Aaron Bannert wrote:
 On Mon, Dec 31, 2001 at 05:36:22PM -0600, Austin Gonyou wrote:
  If I add a directory to my httpd.conf and restart apache, or I add a
  directory to htdocs, then point my browser as such:
  
  http://127.0.0.1/somedir
  
  It hangs until the browser times out. If I do the following though,
  without restarting apache, etc:
 
 My guess is your ServerName is set to something that doesn't exist from
 the perspective of your browser. When you request
 http://127.0.0.1/somedir
 it generates a 301 Moved Permanently to whatever was in your ServerName
 (plus the path and some other stuff), at which point your browser tries
 to resolve that new host. If it cannot it will hang until timeout.
 
  http://127.0.0.1/somedir/ 
 
 This one doesn't generate a 301 since it is a properly formed URL
 (it references a real resource).
 
  it works. Why is that, and what am I missing. It seems so simple, yet
 I
  don't understand what option I'm missing. 
 
 -aaron
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2002-01-02 Thread Austin Gonyou

Thanks for all the work. I just couldn't see that happening. I don't
care if it doesn't work for me, as long as it works for everyone else. 

Now I've got a more serious issue though. I can't even get /Galleries/
or / to parse php now it seems. I think my ouput filters are wrong. 

I used to be able to use the following:

FilesMatch *.php,*.html
  SetInputFilter php
  SetOutputFilter php
/FilesMatch  

Now I have to use:

FilesMatch \.php
  SetInputFilter php
  SetOutputFilter php
/FilesMatch

and likewise with html. What am I doing wrong?

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2002-01-02 Thread Austin Gonyou

Ok..Sorry for the craziness. There seems to be something happening with
Galeon. I tried links, again, and Mozilla and everything is working as
it should. Thanks again for all the help. It even seems as though my
filters are working correctly. 

On Wed, 2002-01-02 at 16:03, Austin Gonyou wrote:
 Thanks for all the work. I just couldn't see that happening. I don't
 care if it doesn't work for me, as long as it works for everyone else. 
 
 Now I've got a more serious issue though. I can't even get /Galleries/
 or / to parse php now it seems. I think my ouput filters are wrong. 
 
 I used to be able to use the following:
 
 FilesMatch *.php,*.html
   SetInputFilter php
   SetOutputFilter php
 /FilesMatch  
 
 Now I have to use:
 
 FilesMatch \.php
   SetInputFilter php
   SetOutputFilter php
 /FilesMatch
 
 and likewise with html. What am I doing wrong?
 
 -- 
 Austin Gonyou
 Systems Architect, CCNA
 Coremetrics, Inc.
 Phone: 512-698-7250
 email: [EMAIL PROTECTED]
 
 It is the part of a good shepherd to shear his flock, not to skin it.
 Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2002-01-02 Thread Austin Gonyou

I'm really confused about Galeon. It seems that when I go to:
http://digitalroadkill.net:8080/Galleries/

Galeon reports that:
'The PHP Filter did not receive suitable input data'

Does anyone know why I *might* receive this in one browser and not in
another? When I telnet to port 8080 and request /Galleries/ it works
like a champ. What am I missing?

(besides a few screws...)

On Wed, 2002-01-02 at 16:03, Austin Gonyou wrote:
 Thanks for all the work. I just couldn't see that happening. I don't
 care if it doesn't work for me, as long as it works for everyone else. 
 
 Now I've got a more serious issue though. I can't even get /Galleries/
 or / to parse php now it seems. I think my ouput filters are wrong. 
 
 I used to be able to use the following:
 
 FilesMatch *.php,*.html
   SetInputFilter php
   SetOutputFilter php
 /FilesMatch  
 
 Now I have to use:
 
 FilesMatch \.php
   SetInputFilter php
   SetOutputFilter php
 /FilesMatch
 
 and likewise with html. What am I doing wrong?
 
 -- 
 Austin Gonyou
 Systems Architect, CCNA
 Coremetrics, Inc.
 Phone: 512-698-7250
 email: [EMAIL PROTECTED]
 
 It is the part of a good shepherd to shear his flock, not to skin it.
 Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2002-01-02 Thread Austin Gonyou

Ok. I found the source of the error. For some reason the default 404
server message isn't getting displayed and this other message is
instead. If I can find the bottom of it, I'll post with answers so it at
least goes into to archive. Thanks for those who've looked. 

Woops. I just figured it out. Since I've got a html ouput filter
redirecting to php to handle the output, when
error/HTTP_NOT_FOUND.html.var is called and it's trying to parse
top.html and bottom.html, it isn't. So, if I can get php to parse the
html correctly, then this message will go away. 

If you go to http://digitalroadkill.net:8080/as;dljfsad you'll see the
error message I'm talking about. This get's generated on every 404,
since PHP isn't parsing the html properly. 

Whew. I thought I was couldn't figure it out. I'm happy now thanks for
the time. 


On Wed, 2002-01-02 at 16:13, Austin Gonyou wrote:
 Ok..Sorry for the craziness. There seems to be something happening with
 Galeon. I tried links, again, and Mozilla and everything is working as
 it should. Thanks again for all the help. It even seems as though my
 filters are working correctly. 
 
 On Wed, 2002-01-02 at 16:03, Austin Gonyou wrote:
  Thanks for all the work. I just couldn't see that happening. I don't
  care if it doesn't work for me, as long as it works for everyone else.
 
  
  Now I've got a more serious issue though. I can't even get /Galleries/
  or / to parse php now it seems. I think my ouput filters are wrong. 
  
  I used to be able to use the following:
  
  FilesMatch *.php,*.html
SetInputFilter php
SetOutputFilter php
  /FilesMatch  
  
  Now I have to use:
  
  FilesMatch \.php
SetInputFilter php
SetOutputFilter php
  /FilesMatch
  
  and likewise with html. What am I doing wrong?
  
  -- 
  Austin Gonyou
  Systems Architect, CCNA
  Coremetrics, Inc.
  Phone: 512-698-7250
  email: [EMAIL PROTECTED]
  
  It is the part of a good shepherd to shear his flock, not to skin
 it.
  Latin Proverb
 -- 
 Austin Gonyou
 Systems Architect, CCNA
 Coremetrics, Inc.
 Phone: 512-698-7250
 email: [EMAIL PROTECTED]
 
 It is the part of a good shepherd to shear his flock, not to skin it.
 Latin Proverb
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Directory completion?

2001-12-31 Thread Austin Gonyou

If I add a directory to my httpd.conf and restart apache, or I add a
directory to htdocs, then point my browser as such:

http://127.0.0.1/somedir

It hangs until the browser times out. If I do the following though,
without restarting apache, etc:

http://127.0.0.1/somedir/ 

it works. Why is that, and what am I missing. It seems so simple, yet I
don't understand what option I'm missing. 

Thanks for the time, and happy new-year!
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: Directory completion?

2001-12-31 Thread Austin Gonyou

In my case it has to point to itself for testing purposes. I don't use
proxies. 

On Mon, 2001-12-31 at 18:13, Justin Erenkrantz wrote:
 On Mon, Dec 31, 2001 at 06:09:56PM -0600, William A. Rowe, Jr. wrote:
  Yes... definately the problem [it bit me just today.]
  
  What would the group think about validating that the
 ServerName/ServerAlias
  directives resolve to a valid Listen'er of this server?
 
 What about proxies?  It is valid to have it not point directly to
 itself.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]

It is the part of a good shepherd to shear his flock, not to skin it.
Latin Proverb



signature.asc
Description: This is a digitally signed message part


Re: how to listen on multiple interfaces?

2001-12-17 Thread Austin Gonyou

Do all interfaces have a route available?

On Mon, 2001-12-17 at 01:37, Danny Karpati wrote:
 Hi,
 
 Who knows how to configure httpd.conf to listen on all the interfaces?
 (netstat will show *.80)
 
 My httpd.conf looks like:
 
 Listen 80
 Listen 44460
 
 VirtualHost _default_:44460
   ...
   ...
 /VirtualHost
 
 It doesn't work on machines with more then one interface, httpd is
 stucked
 at loading!
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
 
Have regard for your name, since it will remain for you longer than a
great store of gold.
Ecclesiastes, Aprocrypha



signature.asc
Description: This is a digitally signed message part


threaded and pthread

2001-12-14 Thread Austin Gonyou

I do daily builds of the httpd-2.0 cvs tree automatically with some
scripts I wrote. Recently I decided to try to just compile it and see
what's changed since several weeks ago. I noticed that help reports that
there is no threaded or pthread in the MPM list. Is it just out, or
did my buildconf break? Please advise. 

-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
 
Have regard for your name, since it will remain for you longer than a
great store of gold.
Ecclesiastes, Aprocrypha



signature.asc
Description: This is a digitally signed message part


Re: threaded and pthread

2001-12-14 Thread Austin Gonyou

Will it ever come back? Say it ain't so pa'. Say it ain't so!
:) 

On Fri, 2001-12-14 at 20:08, Justin Erenkrantz wrote:
 On Fri, Dec 14, 2001 at 02:03:06PM +, Austin Gonyou wrote:
  I do daily builds of the httpd-2.0 cvs tree automatically with some
  scripts I wrote. Recently I decided to try to just compile it and see
  what's changed since several weeks ago. I noticed that help reports
 that
  there is no threaded or pthread in the MPM list. Is it just out, or
  did my buildconf break? Please advise. 
 
 Long gone.  Please use worker.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
 
Have regard for your name, since it will remain for you longer than a
great store of gold.
Ecclesiastes, Aprocrypha



signature.asc
Description: This is a digitally signed message part


Re: threaded and pthread

2001-12-14 Thread Austin Gonyou

After looking into it I discovered this as well, but thanks for replying
about it anyway. Sorry for the bother, I was just so surprised! Thanks
again.

On Fri, 2001-12-14 at 21:46, Aaron Bannert wrote:
 The worker MPM is a hybrid multi-threaded/multi-process MPM and is
 the replacement for the threaded MPM.
 
 -aaron
 
 
 On Fri, Dec 14, 2001 at 03:20:42PM +, Austin Gonyou wrote:
  Will it ever come back? Say it ain't so pa'. Say it ain't so!
  :) 
  
  On Fri, 2001-12-14 at 20:08, Justin Erenkrantz wrote:
   On Fri, Dec 14, 2001 at 02:03:06PM +, Austin Gonyou wrote:
I do daily builds of the httpd-2.0 cvs tree automatically with
 some
scripts I wrote. Recently I decided to try to just compile it and
 see
what's changed since several weeks ago. I noticed that help
 reports
   that
there is no threaded or pthread in the MPM list. Is it just out,
 or
did my buildconf break? Please advise. 
   
   Long gone.  Please use worker.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-698-7250
email: [EMAIL PROTECTED]
 
Have regard for your name, since it will remain for you longer than a
great store of gold.
Ecclesiastes, Aprocrypha



signature.asc
Description: This is a digitally signed message part


Re: Please help with this Snake Oil problem

2001-11-28 Thread Austin Gonyou

Unless someone is willing to provide official Entrust, Thawte, VeriSign,
etc Certs, I doubt Apache coming from apache.org will EVER have proper
certs. They do cost money and all. Not to mention, Thawte, VeriSign, and
Entrust all have docs on how to create certificates using OpenSSL. 



On Tue, 2001-11-27 at 21:32, Justin Erenkrantz wrote:
 On Tue, Nov 27, 2001 at 09:24:36PM -0600, William A. Rowe, Jr. wrote:
  this is a perception problem for end users [much like the It Worked!
  Apache is successfully installed. message] that should be avoided
 when
  Apache 2.0's final SSL components are put in place.
 
 Which is why we don't enable SSL by default and instead point
 them at the docs for mod_ssl.
 
 However, I believe this runs contrary to how httpd-2.0 will be 
 packaged by third-parties - I think Henri mentioned that he is 
 enabling mod_ssl by default in his RPM builds.  I'm not sure
 if he is including a Snake Oil certificate or not.  -- justin
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]



msg03635/pgp0.pgp
Description: PGP signature


Re: FW: 2_0_28 tarballs rolled and available

2001-11-13 Thread Austin Gonyou

NP. At 130 pm CST -5GMT, I'll re-build 2.0.28 from scratch and test
again. Will then post and announce.


On Tue, 2001-11-13 at 11:44, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
wrote:
 Whoops.. I had missed out this mail. hmmn..:-(..
 
 -Madhu
 
 -Original Message-
 From: Austin Gonyou [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 13, 2001 9:27 AM
 To: [EMAIL PROTECTED]
 Subject: Re: 2_0_28 tarballs rolled and available
 
 
 I got a build error using my old config last night. Sorry for the delay.
 I'm going to try again this after noon for those who want to bang on
 digitalroadkill.
 
 On Tue, 2001-11-13 at 10:26, sterling wrote:
  Thanks Cliff -
  
  Yeah, was mentioned before they are technically the same functionality
  as the server works today - the while loop is to mimic
  ap_finalize_request's
  logic before it fires up the filter chain etc.
  
  As far as the assert - there are so many assumptions in this server
  another one probably won't hurt much :) - but it would be nice.
  
  thanks -
  sterling
  
  On Tue, 13 Nov 2001, Cliff Woolley wrote:
  
   On Mon, 12 Nov 2001, sterling wrote:
  
As far as your suggested patch - why is that better (and don't say
performance wise - with all the string comparisons going on in a
request a small while loop in an error case won't affect that
 much)?
  
   I personally just think it's more clear what's going on without the
  loop
   than with it.
  
   Anyway, they both passed the httpd-test suite. (Not that the test
  suite
   actually catches this problem right now, but that's another matter.
 I
   verified this fix by hand with the test case you provided, and
  httpd-test
   tells me it didn't break anything else.)  I just committed Justin's
   version because I think it's more clear.  If somebody wants to stick
  in an
   AP_DEBUG_ASSERT to make sure r-next is NULL when we enter the
  function,
   that's fine by me.
  
   Thanks!
   --Cliff
  
   --
  Cliff Woolley
  [EMAIL PROTECTED]
  Charlottesville, VA
  
  
  
  
  
  
  
  
 -- 
 Austin Gonyou
 Systems Architect, CCNA 
 Coremetrics, Inc.
 Phone: 512-796-9023
 email: [EMAIL PROTECTED]
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]



Re: 2_0_28 tarballs rolled and available

2001-11-13 Thread Austin Gonyou

I didnt' realize but I was using 2.0.29-dev. My apologies. I'll go get
the tarball and just compile that. 2.0.29 as of today though, works with
NO problems!

On Tue, 2001-11-13 at 13:45, William A. Rowe, Jr. wrote:
 From: Sander Temme [EMAIL PROTECTED]
 Sent: Tuesday, November 13, 2001 1:39 PM
 
 
  I say Advisory +1 For Beta provided a release note entry that DSO
 currently
  doesn't work on Darwin/MacOSX.
 
 Nor is HFS secure until someone goes in and hacks the case-insenstive
 define
 plus the APR_FILEINFO_TRUENAME gook for that platform's filesystem.
 
 Given the samba shares and other nightmares, I'm thinking that this
 becomes
 a Directory  scoped option, either inferred at config time, or
 specified
 by the admin.  If someone _really_ wants to skip all canonicalization on
 a
 given tree, that's fine [as long as they know what they are in for ;]
 
 Bill
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]



Re: 2.0.28-beta release?

2001-11-13 Thread Austin Gonyou

Beta means bugs, but as few bugs as you can manage. Also bugs which are
out in the release should be known to a certain degree and bugs from the
previous release being fixed in the subsequent release/releases. That
said, As far as I can tell, 2.0.28 is beta material. Just my simple
minded $0.02

On Tue, 2001-11-13 at 17:02, Greg Stein wrote:
 On Tue, Nov 13, 2001 at 12:00:31PM -0800, Ryan Bloom wrote:
  On Tuesday 13 November 2001 11:28 am, William A. Rowe, Jr. wrote:
   From: Greg Ames [EMAIL PROTECTED]
   Sent: Tuesday, November 13, 2001 12:56 PM
 ...
that file, do the PITA dance with the CHANGES file, probably do a
 little
testing, re-roll, rename the tarballs as beta.  What do others
 think?  I
could note that this happened in the CHANGES file since I have to
 mess
with it anyway.
  
   I'd suggest that you checkout on APACHE-2_0_28, tag as
 APACHE-2_0_28_ALPHA
   for historical reasons, then we can add APACHE-2_0_28_BETA, etc.
  
  No, there is 2.0.28, period.  There isn't a 2.0.28-alpha and
 2.0.28-beta
  code base.  There is one 2.0.28 codebase.  You could have different
 versions
  if the alpha/beta distinction was in the code, but it isn't.  It is
 only in the tarball
  name.
 
 I'm with Ryan. 2.0.28 is exactly that. alpha and beta are
 *designations*.
 They are not code changes.
 
 2.0.28 should be buildable from the label. If the CHANGES file was
 modified
 *outside* of that, then we have a problem.
 
 Ship the damned code. This is a BETA for crying out loud. We don't need
 to
 weasel patches in. oh, just this one little fix. Fuck that. Beta means
 bugs. Beta means that we have a list of issues for people to be
 concerned
 with. Beta means people may have platform-specific problems. Beta is not
 GA.
 
 +1 on beta. Get a release out the door. Christ almighty... what's it
 take
 around here? The new release process was intended to get tarballs *out*
 to
 people. Not to be held up in a bunch of snippy little bug fix this, bug
 fix
 that. Ship it out with bugs. Call it alpha if it doesn't feel right.
 Call it
 beta if it feels good.
 
 If an ErrorDocument doesn't work in one case, then tell people too bad.
 don't do that. If the server dies with a particular subrequest executed
 from some wonky CGI-provided SSI document, then say get this patch.
 But we
 gotta get more releases out into the public's hands.
 
 2.0.16 was crap. Should people really be using that? Not a chance.
 
 Give them 2.0.28.
 
 -g
 
 -- 
 Greg Stein, http://www.lyra.org/
-- 
Austin Gonyou
Systems Architect, CCNA 
Coremetrics, Inc.
Phone: 512-796-9023
email: [EMAIL PROTECTED]