Re: Compile failure 2.0.49 on RHEL3

2004-05-21 Thread Aryeh Katz
uch file or directory In file included from /usr/include/openssl/ssl.h:179, from mod_ssl.h:91, from mod_ssl.c:26: [snip] Regards, Graham -- -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

using sendfile for posts in ab

2004-05-18 Thread Aryeh Katz
Is there any reason not to use sendfile when ab wants to post a file? It seems a little silly to buffer the entire file. -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: buffer overflow in ab.c

2004-03-04 Thread Aryeh Katz
ch for. In the ssl case, pollresults was never initialized, and we'd then try to set next_fd to the value of pollresults[i], which causes ab to crash. Aryeh S. -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

patch bug # 19271

2004-03-04 Thread Aryeh Katz
ion *c = next_fd->client_data; +#endif -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: buffer overflow in ab.c

2004-03-04 Thread Aryeh Katz
mp;n, &pollresults); if (status != APR_SUCCESS) apr_err("apr_poll", status); if (!n) { err("\nServer timed out\n\n"); } for (i = 0; i < n; i++) { const apr_pollfd_t *next_fd = &(pollresults[i]); # di

buffer overflow in ab.c

2004-03-04 Thread Aryeh Katz
, buf, BUFSIZE-1); BIO_printf(bio,"The subject name is %s\n", buf); -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

inserting env var to cgi from input filter

2004-02-25 Thread Aryeh Katz
ocess, line 487). What is the recommended way for an input filter to insert data into headers_in so that it is available for all handlers? -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: frustrating build experience *nix/windows

2004-02-09 Thread Aryeh Katz
ed to bugzilla this? -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: frustrating build experience *nix/windows

2004-02-06 Thread Aryeh Katz
William A. Rowe, Jr. wrote: At 09:44 AM 2/6/2004, Aryeh Katz wrote: In the 1.3 environment I was able to use the --shadow configure option to use the same source tree for multiple os's. This was quite valuable, as one source code change was needed for all platforms. However, the --shadow o

frustrating build experience *nix/windows

2004-02-06 Thread Aryeh Katz
rce packages, windows and UNIX. Can someone tell me why the --shadow option was removed? Aryeh -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: Need help building module mod_expires

2004-01-28 Thread Aryeh Katz
Bob MacMunn wrote: Hello, I am building Apache server 2.0.47 using this configure command ./configure --prefix=/export/home/apache2 --enable-mod-shared=mod_expires try --enable-mods-shared ^ -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

doc patch - http_protocol.h

2004-01-26 Thread Aryeh Katz
thentication at all * seemed to be in use, or DECLINED if there was authentication -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

page out of date

2004-01-26 Thread Aryeh Katz
date version of apache). -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Crash - Win32 on restart

2004-01-08 Thread Aryeh Katz
7;m typing this on the crashed box, with debugger in session). If I can offer any more information, please let me know. -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 653 0700 x 2

Re: log_error_core escaping change broke things

2003-12-19 Thread Aryeh Katz
w('CGI') called at /home/stas/apache.org/mp2-cvs2/t/response/TestModules/cgi.pm line 31 TestModules::cgi::handler('Apache::RequestRec=SCALAR(0x8d421c0)') called at -e line 0 eval {...} called at -e line 0 __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com -- Aryeh Katz SecureD Services http://www.secured-services.com/ 410 673 0700 x 2

Re: ap_invoke_handler

2003-10-22 Thread Aryeh Katz
ourse. Perhaps we should make a rule that if a filter stashes data, > it better set f->ctx to non-null. > --- Aryeh Katz Secured-Services Inc.

RE: ap_invoke_handler

2003-10-21 Thread Aryeh Katz
all the filter processing is done (the filter is only inserted selectively). What would be wrong with calling remove_filter then? It was inserted when required, and when I'm ready to return (and pass some data on), remove the filter I just inserted. > Those APIs are used for changing the filters before the request is > processed. --- Aryeh Katz Secured-Services Inc.

ap_invoke_handler

2003-10-20 Thread Aryeh Katz
previously tried _redirect_internal but this did not work. Is there any other way to get the handler reinvoked? If not, is there a good reason why ap_invoke_handler is marked private? Thanks. Aryeh --- Aryeh Katz Secured-Services Inc.

allocator is NULL if I use heap buckets

2003-09-24 Thread Aryeh Katz
connection, and APR_POOL_DEBUG set to all didn't show any pool life problems. Is there something I can look at to find out why I am having bucket lifetime problems with heap buckets, or should I just stick to transient buckets. Aryeh --- Aryeh Katz Secured-Services Inc.

Re: mod_info question

2003-09-19 Thread Aryeh Katz
> Aryeh Katz wrote: > > > In mod_info, SERVER_CONFIG_FILE is used in order to determine which > > config file the apache server is running with However, this ignores > > the -f option. Shouldn't we be printing out ap_conftree->filename? > > that sounds right

Re: configure --with-berkeley-db=/my/local/db40 does not work?

2003-09-18 Thread Aryeh Katz
how can i set the > parameters correctly? > Make sure the library is in your shared library path e.g. export LD_LIBRARY_PATH=/my/local/lib > > > __ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > htt

mod_info question

2003-09-18 Thread Aryeh Katz
In mod_info, SERVER_CONFIG_FILE is used in order to determine which config file the apache server is running with However, this ignores the -f option. Shouldn't we be printing out ap_conftree->filename? --- Aryeh Katz Secured-Services Inc.

Re: updated debugging doc

2003-09-10 Thread Aryeh Katz
> Aryeh Katz wrote: > > > I was looking at > > http://httpd.apache.org/docs-2.0/developer/debugging.html > > and it seems to be incorrect. > > I can't seem to find any of the #defines mentioned here, only > > APR_POOL_DEBUG. > > Is there any upda

Re: ap_sub_req_method_uri and POST

2003-09-09 Thread Aryeh Katz
> Aryeh Katz wrote: > > >Is it possible to change a GET to a POST, and add post data to the > >POST request by using get_brigade and pass_brigade and > >ap_sub_req_method_uri? > > > > > > > Theoretically yes. You would have to define an input filter

ap_sub_req_method_uri and POST

2003-09-08 Thread Aryeh Katz
Is it possible to change a GET to a POST, and add post data to the POST request by using get_brigade and pass_brigade and ap_sub_req_method_uri? --- Aryeh Katz Secured-Services Inc.

Re: lifetime of r->user in 2.0 tree

2003-09-08 Thread Aryeh Katz
gt;pool, auth_line); +/* Note that this allocation has to be made from r->connection->pool + * because it has the lifetime of the connection. The other allocations + * are temporary and can be tossed away any time. + */ r->user = ap_getword_nulls (r->pool, &t, &

lifetime of r->user in 2.0 tree

2003-09-08 Thread Aryeh Katz
lifespan was changed to per connection to per request? (not to mention updating the misleading comment in the 2.0 tree). Aryeh --- Aryeh Katz Secured-Services Inc.

updated debugging doc

2003-08-28 Thread Aryeh Katz
I was looking at http://httpd.apache.org/docs-2.0/developer/debugging.html and it seems to be incorrect. I can't seem to find any of the #defines mentioned here, only APR_POOL_DEBUG. Is there any updated debugging doc? --- Aryeh Katz Secured-Services Inc.

ap_run_sub_req problem

2003-08-14 Thread Aryeh Katz
in my case, image/gif). However, when the request is sent to the client, the content type is text/plain. Thus, the reply to the client doesn't render properly. I suspect I am not invoking ap_run_sub_req properly. Is there something I should know about how to invoke run_sub_req? Thanks. Aryeh

Re: ap_run_sub_req problem

2003-08-14 Thread Aryeh Katz
mple of the appropriate way to use this API. > > Bill > > At 02:37 PM 8/6/2003, Aryeh Katz wrote: > >In certain circumstances, I need to do an internal redirect on the > >client's request (without sending back a redirect to the client). I > >tried using ap_sub_req_metho

Re: ap_run_sub_req and content length

2003-08-14 Thread Aryeh Katz
ermine whether chunking is used. Generally speaking, if the first > ap_pass_brigade call contains the EOS, Content-Length will be sent. Thanks. Aryeh --- Aryeh Katz Secured-Services Inc.

ap_run_sub_req and content length

2003-08-14 Thread Aryeh Katz
. How can I do this (other than reading the brigades, then running ap_set_content)? Aryeh --- Aryeh Katz Secured-Services Inc.

Re: ap_run_sub_req problem

2003-08-08 Thread Aryeh Katz
subrequest, for an example of the appropriate way to use this API. > > Bill > > At 02:37 PM 8/6/2003, Aryeh Katz wrote: > >In certain circumstances, I need to do an internal redirect on the > >client's request (without sending back a redirect to the client). I > &

Re: per_dir_config

2003-08-06 Thread Aryeh Katz
> See http://httpd.apache.org/docs-2.0/developer/request.html > Thank you. Aryeh > At 02:53 PM 7/31/2003, Aryeh Katz wrote: > >What is the earliest stage at which r->per_dir_config is populated > >with the per_dir information that my module sets? Using some tests, I

Re: per_dir_config

2003-07-31 Thread Aryeh Katz
> header_parser. That is the same hook, which mod_setenvif uses for > setting its per-dir variables. > > HTH, nd It does, thank you. --- Aryeh Katz Secured-Services Inc.

per_dir_config

2003-07-31 Thread Aryeh Katz
What is the earliest stage at which r->per_dir_config is populated with the per_dir information that my module sets? Using some tests, I determined that it's sometime after post_read, and before fixup. Can someone narrow it down for me? --- Aryeh Katz Secured-Services Inc.

suggested patch to mpm_common.c

2003-07-28 Thread Aryeh Katz
heck_cmd_context(cmd, GLOBAL_ONLY); -if (err != NULL) { -return err; -} - if (cmd->server->is_virtual) { return "PidFile directive not allowed in "; } --- Aryeh Katz Secured-Services Inc.

broken experimental module

2002-08-14 Thread Aryeh Katz
I've just tried both mod_case_filter, and mod_case_filter_in on a 2.0.39 server. mod_case_filter works, while mod_case_filter_in does not. Is there anyone who can tell me what has to be done in order to get case_filter_in to work? Thanks --- Aryeh Katz VASCO www.vasco.com

help with input filters

2002-08-13 Thread Aryeh Katz
tell me what I need to do in order to get the request from an input filter. Thanks --- Aryeh Katz VASCO www.vasco.com

Re: different module building semantics

2002-08-12 Thread Aryeh Katz
ross the board? 1) enable-my-module 2) enable-module=my_module If I'm not mistaken, I can write --enable-shared=all, and case 2 will make it shared. --- Aryeh Katz VASCO www.vasco.com

Re: different module building semantics

2002-08-12 Thread Aryeh Katz
> Aryeh Katz wrote: > > In order to build the non-standard modules, configure requires a > > command line option of the form --enable-module-name. The problem > > with this (other than being unable to use the --enable-module=) > > syntax, is that you can't cho

different module building semantics

2002-08-12 Thread Aryeh Katz
add a non-standard module, because you have to rebuild the entire server just to get one more module enabled. --- Aryeh Katz VASCO www.vasco.com

Re: 2.0 book

2002-06-27 Thread Aryeh Katz
> On Thu, 27 Jun 2002, Aryeh Katz wrote: > > > I saw that Ryan Bloom is (was) scheduled to release a book on the > > 2.0 server. Does that book have information for developers, or is it > > intended for sysadmins? > > It definitely has information for developers.

2.0 book

2002-06-27 Thread Aryeh Katz
say this, but the header files aren't really enough documentation Thanks. Aryeh --- Aryeh Katz VASCO www.vasco.com

Re: ab with ssl for win32

2002-06-20 Thread Aryeh Katz
re. I didn't think to open up the other makefiles, and I didn't catch the executable name change on the win_compiling directions page. --- Aryeh Katz VASCO www.vasco.com

ab with ssl for win32

2002-06-20 Thread Aryeh Katz
Is there any planned ssl support for ab on win32? It seems like a trivial makefile change... --- Aryeh Katz VASCO www.vasco.com

Re: Memory leak in experimental module - mod_case_filter_in

2002-06-18 Thread Aryeh Katz
ental module it's no big deal, but it probably pays to clean > this up. Aryeh --- Aryeh Katz VASCO www.vasco.com > --- Aryeh Katz VASCO www.vasco.com

Memory leak in experimental module - mod_case_filter_in

2002-06-18 Thread Aryeh Katz
The buf allocated through malloc (in CaseFilterInFilter) never gets freed, and will leak the amount of data read through ap_bucket_read on every request. Since this is just an experimental module it's no big deal, but it probably pays to clean this up. Aryeh --- Ary