[PATCH-2] Backport of SSL-C compatibility thunks (& misc fixes)

2003-04-05 Thread William A. Rowe, Jr.
At 04:12 PM 4/5/2003, William A. Rowe, Jr. wrote: >As I look over Jeff's patch (to change another callback prototype for >OpenSSL 0.9.7) I also have the following patch that should allow us >to build clean on SSL-C. Already committed to 2.1-dev, this attached >patch to 2.0-dev is heavily annotate

[PATCH] Backport of SSL-C compatibility thunks

2003-04-05 Thread William A. Rowe, Jr.
As I look over Jeff's patch (to change another callback prototype for OpenSSL 0.9.7) I also have the following patch that should allow us to build clean on SSL-C. Already committed to 2.1-dev, this attached patch to 2.0-dev is heavily annotated with respect to what versions from 2.1-dev I'm movin

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

2003-04-05 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: minfrin 2003/04/05 11:48:02 Modified:server Tag: APACHE_2_0_BRANCH scoreboard.c Log: - Clarify an error message to be more useful Graham, Things need to be in 2.1-dev first, or at least within a very short time of committing to 2.0.x-dev. If you'd tried

Re: Scoreboard failure: v2.0.45 won't start on RH v7.3

2003-04-05 Thread Ian Holsman
Hi Graham... we see this often on unclean shutdowns one of our developers (hi Blaise) over here wrote this script (we start as user 'httpd', not root BTW) just be carefull if anything else is running as the same user. # find shared memory ipcs shmipcs=$(ipcs -m | egrep -v 'Shared|shmid' | grep ht

Re: httpd hangs for 9 seconds before serving page

2003-04-05 Thread Graham Leggett
Justin Erenkrantz wrote: You should run strace (or truss) on the httpd and see where the hang is. In order to get one process, run 'httpd -X' if you use prefork; worker respects -X but in a different manner - one process with many threads - not as helpful as prefork in ONE_PROCESS/NO_DETACH mo

Re: Authentication: anyone see what is wrong?

2003-04-05 Thread André Malo
* Graham Leggett wrote: > > Options Indexes > AllowOverride AuthConfig seems to be useless here :) > order deny,allow > deny from all dito. (because you satisfy all anyway) > require group cn=Extranet,ou=Network,dc=xx,dc=xx >satisfy all >Auth

Re: Scoreboard failure: v2.0.45 won't start on RH v7.3

2003-04-05 Thread Graham Leggett
Justin Erenkrantz wrote: Well, you don't need to use named-based scoreboard on Linux. Just remove the ScoreBoardFile directive. Cool, that works. :) Even though, named-based scoreboards should work. But, you need to indicate which shared memory system your APR is using. Then, you need to se

Re: Authentication: anyone see what is wrong?

2003-04-05 Thread Dirk-Willem van Gulik
'require valid-user' ? Dw On Sat, 5 Apr 2003, Graham Leggett wrote: > Hi all, > > I am having complete brain failure. The following config is supposed to > password protect a resource using mod_ldap. Instead, it simply lets me > in without any authentication at all. I am stumped: what am I doing

Re: httpd hangs for 9 seconds before serving page

2003-04-05 Thread Justin Erenkrantz
--On Saturday, April 5, 2003 8:20 PM +0200 Graham Leggett <[EMAIL PROTECTED]> wrote: I have an httpd v2.0.45 webserver that insists on blocking for 9 seconds before serving a static page. This delay happens both with a normal http site, and an https site. Hostnamelookups are switched off in the c

Re: Scoreboard failure: v2.0.45 won't start on RH v7.3

2003-04-05 Thread Justin Erenkrantz
--On Saturday, April 5, 2003 7:42 PM +0200 Graham Leggett <[EMAIL PROTECTED]> wrote: I am trying to start up a v2.0.45 httpd server on a Redhat v7.3 box, however the startup bombs with the following error: ... As can be seen, any preexisting file is supposed to be erased before an attempt is made

Authentication: anyone see what is wrong?

2003-04-05 Thread Graham Leggett
Hi all, I am having complete brain failure. The following config is supposed to password protect a resource using mod_ldap. Instead, it simply lets me in without any authentication at all. I am stumped: what am I doing wrong? ServerName extranet.xx.xx ServerAlias intranet.xx.xx Ser

httpd hangs for 9 seconds before serving page

2003-04-05 Thread Graham Leggett
Hi all, I have an httpd v2.0.45 webserver that insists on blocking for 9 seconds before serving a static page. This delay happens both with a normal http site, and an https site. Hostnamelookups are switched off in the config, is there anything else I should be looking for besides DNS that woul

Scoreboard failure: v2.0.45 won't start on RH v7.3

2003-04-05 Thread Graham Leggett
Hi all, I am trying to start up a v2.0.45 httpd server on a Redhat v7.3 box, however the startup bombs with the following error: [Sat Apr 05 19:35:23 2003] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Sat Apr 05 19:35:23 2003] [notice] Digest: generating secret for dige

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

2003-04-05 Thread Graham Leggett
Justin Erenkrantz wrote: ./get-version.sh all include/ap_release.h AP_SERVER The following works for me: is it portable? sed is used (in the get-version.sh script) and cut is used, that's it. echo rebuilding rpm spec file ( VMMN=`build/get-version.sh mmn include/ap_mmn.h MODULE_MAGIC_NUMBER` R

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

2003-04-05 Thread Graham Leggett
André Malo wrote: *grin* be careful with aterisks, they are mostly not that what you want :) /^[^0-9]*\([0-9][0-9]*\).*$/ Cool - that works :) I added [0-9a-z-] so that the "-dev" part would be included, but it works - thanks! Regards, Graham -- - [EMAIL

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

2003-04-05 Thread André Malo
* Graham Leggett wrote: > Justin Erenkrantz wrote: > >> patch_sed="/#define.*$3_PATCH_VERSION/s/^.*\([0-9][0-9]*\).*$/\1/p" > > The above substitution, given the string "45-dev", returns "5". > > Changing the substitution to \([0-9][0-9a-z-]*\) returns "5-dev", which > is still wrong. > > Can

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

2003-04-05 Thread Graham Leggett
Justin Erenkrantz wrote: patch_sed="/#define.*$3_PATCH_VERSION/s/^.*\([0-9][0-9]*\).*$/\1/p" The above substitution, given the string "45-dev", returns "5". Changing the substitution to \([0-9][0-9a-z-]*\) returns "5-dev", which is still wrong. Can anyone tell me why the above would strip the "

More problem with apr_proc_mutex

2003-04-05 Thread Rohan Nandode
Hi, Thanks for all the responses! > 2. you probably want to be explicit, anyways, about > your mutex method, >e.g. try this list in order... > > APR_LOCK_FCNTL I tried to use APR_LOCK_FCNTL locking method. But it is also giving same problems. What I observed in FCNTL locking is, 1. Fi