Re: 2.0.48 startup crash

2003-11-27 Thread Kris Verbeeck
le and try again Option 2: Remove the shared memory segments with the ipcrm tool Option 3: Rename the file in the configuration Option 4: Reboot :) System V IPC :( -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubiz

Re: child process segfaults in reverse SSL proxy setup

2003-10-22 Thread Kris Verbeeck
I have created bugs 24029, 24030 and 24031 for the issues described in this thread. Joe Orton wrote: Hi Kris, On Wed, Oct 22, 2003 at 04:44:39PM +0200, Kris Verbeeck wrote: After several days of tracing through the mod_proxy/mod_ssl/OpenSSL code with gdb I now finally have a working setup with

Re: child process segfaults in reverse SSL proxy setup

2003-10-22 Thread Kris Verbeeck
problem 2, can anyone give me some suggestions on how to solve this? thx Kris Verbeeck wrote: Hi, I have set up an Apache 2.0 reverse proxy that forwards incoming requests over SSL to a back-end web server (also an Apache 2.0). The back-end requires SSL client certificate authentication. When firing a

Re: Can't use handler + reverse proxy

2003-10-21 Thread Kris Verbeeck
eas ? IMHO, in teh reverse proxy case, the handler is mod_proxy. You'll have to solve this some other way I think. What exactly are you trying to accomplish with your handler? -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F

child process segfaults in reverse SSL proxy setup

2003-10-16 Thread Kris Verbeeck
ptable cert, sending /C=BE/ST=... [Thu Oct 16 07:31:44 2003] [notice] child pid 2983 exit signal Segmentation fault (11) -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: Apache won't start - shared memory problem

2003-10-01 Thread Kris Verbeeck
memory segment is still registered somewhere in the kernel. I've had lots of problems with this too and only deleting the file does not solve it. You have to remove the segments from the kernel table too (see mail from Paul). -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter -

Request body validation before content handler phase

2003-09-12 Thread Kris Verbeeck
he request structure, insert a new filter that will eventually pass the spooled data to the content handler 3) something else? -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.

Re: Custom SSL verification causes Apache to start using 100% CPU

2003-08-26 Thread Kris Verbeeck
Kris Verbeeck wrote: William A. Rowe, Jr. wrote: This looks like a bug fixed in the apache 2.1 tree (the current CVS Head of the httpd-2.0 repository.) I checked the CVS repository and found the fix you are referring to. Apparently this was already backported to the 2.0 branch (2.0 diff

Re: Custom SSL verification causes Apache to start using 100% CPU

2003-08-25 Thread Kris Verbeeck
rrent development tree will help us to confirm the fix. Thank you for the note. -- ir. Kris Verbeeck Software Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubize

Custom SSL verification causes Apache to start using 100% CPU

2003-08-22 Thread Kris Verbeeck
rce a renegotiation */ @@ -729,7 +742,8 @@ * Finally check for acceptable renegotiation results */ if (dc->nVerifyClient != SSL_CVERIFY_NONE) { -BOOL do_verify = (dc->nVerifyClient == SSL_CVERIFY_REQUIRE); +BOOL do_verify = (dc->nVerifyClient ==

Re: mod_ssl POST issue? (fwd)

2003-08-14 Thread Kris Verbeeck
blem is that when I try to POST to a .cgi file, I get the following error: "Method not allowed! The POST method is not allowed for the requested URL." This is a known issue with mod_ssl for Apache 2.0... it's on the modules/ssl/TODO list. Thanks, Cliff -- ir. Kris Verb

Re: [PATCH] PR 16520 -- cache MUST NOT cache responses to Authorizationrequests

2003-06-09 Thread Kris Verbeeck
André Malo wrote: So, there's just one token and no place for an implied LWS. [ situation differs from "between any two adjacent words (token or quoted-string)" ] So, as PR 16520 states: Authorization : scheme scheme param=value is a valid header and should be treated as Authorization: sc

[PATCH] PR 16520 -- cache MUST NOT cache responses to Authorizationrequests

2003-06-09 Thread Kris Verbeeck
Actually this PR is not a mod_cache bug. According to RFC 2616, LWS might be present at the end of an HTTP header. Quote from RFC 2616: implied *LWS The grammar described by this specification is word-based. Except where noted otherwise, linear white space (LWS) can be included

[PATCH] PR 16521 -- caches MUST treat invalid Expires values as inthe past

2003-06-09 Thread Kris Verbeeck
PR 16521 states that mod_cache caches and returns responses that have an invalid Expires header (value is 0 or yesterday). The attached patch resolves this issue. Some explanation: - when apr_date_parse_http returns APR_DATE_BAD, the local variable containing the expires header was reset to NU

Re: Now tagged new Apache 2.0.45 candidate.

2003-03-28 Thread Kris Verbeeck
tage require we start over with 2.0.46, so testing early and often continues to be very helpful. Thanks for your help, Bill -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: mod_disk_cache problem

2003-03-17 Thread Kris Verbeeck
up in the error_log that can help to solve your problem. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: using my module

2003-01-13 Thread Kris Verbeeck
ed? Or are you having trouble enabling the module? Because then it will be a configuration (or programming) issue. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: [PATCH] mod_deflate extensions

2002-11-19 Thread Kris Verbeeck
isten x.x.x.x:y NameVirtualHost x.x.x.x:y JkMount /* ajp13 ServerName host.domain.tld AddOutputFilter DEFLATE html Only tested with a servlet behind it. No JSP testing, but shouldn't be different I think. -- ir. Kris Verbeeck Development Engineer

Re: Module development - Makefile

2002-11-18 Thread Kris Verbeeck
pt. Just do apxs -c files... -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: [PATCH] mod_deflate extensions

2002-11-12 Thread Kris Verbeeck
Henri Gomez wrote: BTW, I'll next check if mod_deflate works in conjunction with mod_jk/mod_jk2 (where I'm commiter). It works, at least for me. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 1

Re: low level design

2002-10-30 Thread Kris Verbeeck
; > modules (PHP etc.) to use. > > ap_get_client_block() consumes the data. > > If your module needs to see the data that would be consumed by some > other module, you can use an input filter (Apache 2.0). > > -- > Jeff Trawick | [EMAIL PROTECTED] > Born in Roswell... married an alien... -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: [PATCH] htpasswd

2002-10-22 Thread Kris Verbeeck
André Malo wrote: > > * Kris Verbeeck wrote: > > > * htpasswd blindly processes the file you give it, and does no > > sanity checking before totally corrupting whatever file it was > > you thought you had. It should check the input file and bail > &

[PATCH] htpasswd

2002-10-22 Thread Kris Verbeeck
not contain exactly 1 ':' character. Message-ID: <[EMAIL PROTECTED]> htpasswd will return error code 7 if the file contains invalid entries. The patch contains a diff for htpasswd.c, htpasswd.1 (the man page) and htpasswd.html (the HTML manual). I think that

[PATCH] [UPDATED] Re: Cached response: 304 send as 200

2002-09-13 Thread Kris Verbeeck
Brian Pane wrote: > If the read of this field is removed, won't we also need to remove > the code that writes it? Correct, my mistake... new patch has been attached that also removes the writing of the status line. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Ph

Re: [PATCH] caching and query strings

2002-09-12 Thread Kris Verbeeck
e strcat should terminate there anyway ;-) that's what I thought :-) -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

[PATCH] caching and query strings

2002-09-12 Thread Kris Verbeeck
when there is a query string present and no 'Expires' header is found (mod_cache.c) 2. use 'URI' + '?' + 'query string' has the hash key instead of only the URI (cache_storage.c) -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssi

[PATCH] Re: Cached response: 304 send as 200

2002-09-11 Thread Kris Verbeeck
rom the cache. The http response header filter will then construct a status line starting from the status code, which is 304. Problem solved. Kris Verbeeck wrote: > > Hi, > > When refreshing a page (with IE) the browser sends a 'If-Modified-Since' > header in the request.

Re: Cached response: 304 send as 200

2002-09-11 Thread Kris Verbeeck
TTP/1.1 response prefixed with "HTTP/1.0"...? Nope, there is a force-response-1.0 in httpd.conf for this request. So normal behaviour. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Cached response: 304 send as 200

2002-09-10 Thread Kris Verbeeck
nfo] disk_cache: Serving Cached URL /index.html [date] [info] disk_cache: Served headers for URL /index.html [date] [debug] mod_cache.c(216): cache: fresh cache - returning status 304 -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T:

[PATCH] Re: mod_deflate in 2.0.40

2002-08-30 Thread Kris Verbeeck
ession if "gzip-only-text/html" is not set at all. Kris Verbeeck wrote: > > Hi, > > The 2.0.39 code: > >if ((r->content_type == NULL || strncmp(r->content_type, "text/html", 9)) >&& apr_table_get(r->subprocess_env, "

mod_deflate in 2.0.40

2002-08-30 Thread Kris Verbeeck
s always removed unless you define "gzip-only-text/html" to be "1". So you can't compress other files, e.g. ".txt". I think the strcmp test should be "strcmp(...) == 0". Or am I missing something?? -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com

Re: [PATCH] fixes segfault in mod_cache (2.0.40)

2002-08-27 Thread Kris Verbeeck
kind of requests and return an error message?? Kris Verbeeck wrote: > > Hi, > > Someone in our QA team tried the following test: > > telnet 80 > GET https://whatever.html HTTP/1.0 > > this resulted in a segfault for the child that handled the request

[PATCH] fixes segfault in mod_cache (2.0.40)

2002-08-26 Thread Kris Verbeeck
here ios no URL to cache). ps: I don't know whether the actual fix of this problem should be in cache_util.c or somewhere in the URI parsing routines. -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77

mod_cache not serving cached files

2002-08-14 Thread Kris . Verbeeck
nes lower you have the 'set rsp_t' log entry. Does mod_cache behave like this because I misconfigured something? Or is it a problem in the code itself?? -- ir. Kris Verbeeck Development Engineer Ubizen - Ubicenter - Philipssite 5 - 3001 Leuven - Belgium T: +32 16 28 70 64 F: +32 16 28 70 77 Ubizen - We Secure e-business - www.ubizen.com