Re: Share data between apache modules

2015-05-10 Thread Yann Ylavic
Hi Eugene, this should work... We need more of your code and/or logging to figure out what's going on. Maybe could you also log r and r-notes (with format %pp) to see if the two modules really share the same request? Regards, Yann. On Sat, May 9, 2015 at 6:40 PM, Eugene Teslenko

Re: Share data between apache modules

2015-05-10 Thread Yann Ylavic
I don't know much about mod_fastcgi (third-party module), but it seems that it uses ap_internal_redirect[_handler](). This creates a new (redirect) request which is linked with the original one through the r-next (= newr) and newr-prev (= r). Unlike sub-requests, internal redirects are fully

Re: Share data between apache modules

2015-05-10 Thread Eugene Teslenko
mod_a handler function returns declined both times it's being called. Here is the source of mod's = mod_a.c = module AP_MODULE_DECLARE_DATA mod_a; static int handler(request_rec *r) { // if (strcmp(r-handler, fastcgi-script)) return DECLINED; apr_table_set(r-notes, test-var,

Re: Share data between apache modules

2015-05-10 Thread Eugene Teslenko
Thanks for your replies! After adding pointers to log and disabling handler check inside mod_a, I've noted the problem. Error log has three lines for single http-request now: mod_a[49059]: test-var=test-string, r_pp=8450610a0, notes_pp=8450621a8, handler=application/x-httpd-php56

Re: Share data between apache modules

2015-05-10 Thread Yann Ylavic
What does mod_a handler return? How do you register it (ap_hook_handler() line)? On Sun, May 10, 2015 at 3:59 PM, Eugene Teslenko eugene.tesle...@gmail.com wrote: Thanks for your replies! After adding pointers to log and disabling handler check inside mod_a, I've noted the problem. Error log

Re: Share data between apache modules

2015-05-10 Thread Eugene Teslenko
It may be any handler module. FastCGI is just for example. In apache's config it's just Action + SetHandler options. Thank you very much for your replies and suggestions, it was really an internal redirect and could get an original request rec through r-prev. 2015-05-10 21:30 GMT+03:00 Yann

RE: Share data between apache modules

2015-05-09 Thread Nadir Hamid
to the passerand APR_HOOK_LAST is given to the recipient, you can receive this in the same way using an apr_table_get/2 Date: Sat, 9 May 2015 19:40:54 +0300 Subject: Share data between apache modules From: eugene.tesle...@gmail.com To: modules-dev@httpd.apache.org Hi! I'm trying to pass data from

Share data between apache modules

2015-05-09 Thread Eugene Teslenko
Hi! I'm trying to pass data from one module to another within a single request. But after the first module writes data into r-notes table, the second one reads only (null) from it. Example. mod_a (in the handler function): apr_table_setn(r-notes, test-var, test-string); ap_log_rerror(APLOG_MARK,

Is it possible to use mcrypt to encrypt string using DES, AES, etc. in apache modules???

2014-04-07 Thread Miguel Villarreal
Hi. I am using mcrypt which is recognized by apxs when I compile my module. However when I visit my website the HTTP Get requests are logged due to the lines of my code that include mcrypt. Any suggestion about my mistake here! Miguel Antonio

Apache Modules: Source Code and Headers??

2014-04-04 Thread Miguel Villarreal
Hi, where can I find the C source codes of Apache and headers. I have been trying to finde them in the Apache website but I have not been able to find them. I found them in other pages, but I have doubts about if they are the original (without users' changes). Please let me know. Miguel Antonio

Re: Apache Modules: Source Code and Headers??

2014-04-04 Thread Eric Covener
Source releases: http://httpd.apache.org/download.cgi#apache24 How to access via SCM: http://httpd.apache.org/dev/devnotes.html On Fri, Apr 4, 2014 at 1:02 PM, Miguel Villarreal miguel_villarrea...@hotmail.com wrote: Hi, where can I find the C source codes of Apache and headers. I have been

Re: Apache Modules: Source Code and Headers??

2014-04-04 Thread Eric Covener
On Fri, Apr 4, 2014 at 1:07 PM, Eric Covener cove...@gmail.com wrote: Source releases: http://httpd.apache.org/download.cgi#apache24 How to access via SCM: http://httpd.apache.org/dev/devnotes.html On Fri, Apr 4, 2014 at 1:02 PM, Miguel Villarreal miguel_villarrea...@hotmail.com wrote: Hi,

Re: Standard Practices with respect to distribution of Apache modules

2010-07-01 Thread Abhinav Upadhyay
modules apart from Nick Kew's The Apache Modules book (I am using that one). You guys are doing a great job, but please answer my few questions, I would really appreciate it. Thanks Abhinav

Re: Standard Practices with respect to distribution of Apache modules

2010-07-01 Thread Leonardo Foderaro
modules apart from Nick Kew's The Apache Modules book (I am using that one). You guys are doing a great job, but please answer my few questions, I would really appreciate it. Thanks Abhinav

Re: Standard Practices with respect to distribution of Apache modules

2010-07-01 Thread Eric Covener
On Sun, Jun 27, 2010 at 4:17 AM, Abhinav Upadhyay abhi...@hover.in wrote: Hello everyone! I am on an internship, and have developed an Apache 2 module as my project, that is to be used by our customers. Now, we are at the point of distribution of our module, my boss says that expecting the

Standard Practices with respect to distribution of Apache modules

2010-06-27 Thread Abhinav Upadhyay
Hello everyone! I am on an internship, and have developed an Apache 2 module as my project, that is to be used by our customers. Now, we are at the point of distribution of our module, my boss says that expecting the users to compile the module from source is not very practical, although that is

Re: Defining mandatory parameters for Apache modules

2009-08-13 Thread Ray Morris
This may be a level problem. Are you thinking of throwing an error if it's unset, or simply disabling the module for that VirtualHost, directory, etc.? Pretty much any module must do a check with each request to see if it should handle the request - for example the module may be wanted in

RE: Defining mandatory parameters for Apache modules

2009-08-13 Thread Houser, Rick
parameters for Apache modules This may be a level problem. Are you thinking of throwing an error if it's unset, or simply disabling the module for that VirtualHost, directory, etc.? Pretty much any module must do a check with each request to see if it should handle the request

Defining mandatory parameters for Apache modules

2009-08-13 Thread Raj Iyer
Hello, The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers for directives D1 and D2, then the httpd process on start up will invoke the handlers within

Defining mandatory parameters for Apache modules

2009-08-13 Thread Raj Iyer
Hello, The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers for directives D1 and D2, then the httpd process on start up will invoke the handlers within

Re: Defining mandatory parameters for Apache modules

2009-08-13 Thread Graham Leggett
Raj Iyer wrote: The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers for directives D1 and D2, then the httpd process on start up will invoke the handlers

RE: Defining mandatory parameters for Apache modules

2009-08-13 Thread Plüm, Rüdiger, VF-Group
parameters for Apache modules Hello, The Apache web server on start up iterates through the list of configuration directives and invokes the associated module handler for each directive. For e.g. if module A has handlers

RE: Location of Apache Modules

2009-04-23 Thread Houser, Rick
...@nyc.rr.com] Sent: Wednesday, April 22, 2009 7:46 PM To: modules-dev@httpd.apache.org Subject: RE: Location of Apache Modules I don't think a checking to see if the logged in user name is different from the credentials user is that much additional overhead. M* -Original Message- From

RE: Location of Apache Modules

2009-04-22 Thread Michele Waldman
on this thinking that it was going to be a quick fix. Michele -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Tuesday, April 21, 2009 2:00 PM To: modules-dev@httpd.apache.org Subject: Re: Location of Apache Modules On Tue, Apr 21, 2009 at 12:51 PM, Michele Waldman

RE: Location of Apache Modules

2009-04-22 Thread Houser, Rick
: Michele Waldman [mailto:mmwald...@nyc.rr.com] Sent: Wednesday, April 22, 2009 1:37 PM To: modules-dev@httpd.apache.org Subject: RE: Location of Apache Modules I'm looking in modules/http/http_request.c. Is this even in the right ballpark? I'm hoping there's one if statement this call is failing

RE: Location of Apache Modules

2009-04-22 Thread Michele Waldman
Subject: RE: Location of Apache Modules Folks I've talked to just don't try to get htaccess to work with ajax for the most part. They rely on php security. That's probably because on the backend, they still need to handle authorization. Unless all users to your backend should have equal access

Location of Apache Modules

2009-04-21 Thread Michele Waldman
I ran a find for functions like ap_hook_auth_checker, ap_run_type_checker and a few other functions. I could not find the function definitions. All I could find was a reference to them in server/export.c. Does anyone know where all of the functions are? It's difficult to trace through the

RE: Location of Apache Modules

2009-04-21 Thread Michele Waldman
Did your browser send digest credentials on the ajax request? You can log %{Authorization}i in the access log to quickly tell. Yes. The browser is sending the creditials. I did check this. That's what was hanging me up. If credentials were sent, can mod_log_config log a %u or were they

Regarding Multithreading in apache modules

2009-02-13 Thread Pooja Maheshwari
Hi all, Is it possible to use multithreading in apache modules written in C? As I searched, apr_thread_proc provides process thread management functions. Does it come as part of Apache 2.2? Thanks, Pooja * Meet us at Hall 2/Booth 2C111 at the Mobile World

Re: Regarding Multithreading in apache modules

2009-02-13 Thread Sorin Manolache
On Fri, Feb 13, 2009 at 11:33, Pooja Maheshwari pooja.maheshw...@impetus.co.in wrote: Hi all, Is it possible to use multithreading in apache modules written in C? Yes. As I searched, apr_thread_proc provides process thread management functions. Does it come as part of Apache 2.2? Yes

Re: Regarding Multithreading in apache modules

2009-02-13 Thread Sorin Manolache
Multithreading in apache modules On Fri, Feb 13, 2009 at 11:33, Pooja Maheshwari pooja.maheshw...@impetus.co.in wrote: Hi all, Is it possible to use multithreading in apache modules written in C? Yes. As I searched, apr_thread_proc provides process thread management functions. Does

Re: Memory issue in apache modules

2007-12-17 Thread Joe Lewis
John Zhang wrote: --- Ray Morris [EMAIL PROTECTED] wrote: I am using the apr_* functions to allocate memory (most of the time from the request-pool). If there are few places where you allocate from othr than the reqquest pool, I'd look at those first. I used the

Re: Memory issue in apache modules

2007-12-17 Thread John Zhang
--- Joe Lewis [EMAIL PROTECTED] wrote: Your buckets can still be created using the request-pool . My created buckets in my output filter are done that way. Have you tried it? You still use the request-connection-bucket_alloc for the other parameter, but the request-pool for the memory

Re: Memory issue in apache modules

2007-12-17 Thread John Zhang
--- Ray Morris [EMAIL PROTECTED] wrote: I am using the apr_* functions to allocate memory (most of the time from the request-pool). If there are few places where you allocate from othr than the reqquest pool, I'd look at those first. I used the bucket/brigade for my data that

Re: Memory issue in apache modules

2007-12-14 Thread Eric Covener
On Dec 14, 2007 6:05 PM, John Zhang [EMAIL PROTECTED] wrote: When my module processes requests, I see a consistent memory increase. It is like the memories were never released. I am using the apr_* functions to allocate memory (most of the time from the request-pool). My understanding is

Re: Memory issue in apache modules

2007-12-14 Thread John Zhang
--- Eric Covener [EMAIL PROTECTED] wrote: It should level out as each thread in the process has had a chance to run and allocate some memory for a range of requests. MaxMemFree can be used to return the heap memory that would otherwise be used by subsequent requests on that thread.

Re: Memory issue in apache modules

2007-12-14 Thread Ray Morris
I am using the apr_* functions to allocate memory (most of the time from the request-pool). If there are few places where you allocate from othr than the reqquest pool, I'd look at those first. -- Ray B. Morris [EMAIL PROTECTED] Strongbox - The next generation in site security:

Understanding how to write large application in apache modules

2007-12-03 Thread Sam Carleton
builds the page replacing the variables in the template with the values I set in the PHP. The more I think about it, the more this sounds like what folks are doing with input and output filter in Apache modules. I am starting to think that it is possible to develop a whole solution solely

Question regarding apache and locale (use of mbtowc in apache modules)

2007-06-14 Thread Basant Kukreja
builtin apache modules? Apache code though never call the setlocale function so I think typically apache runs in system's default locale. Regards, Basant.

Re: apache-modules

2006-03-21 Thread Sander Temme
Hey, On Mar 21, 2006, at 7:28 AM, William wrote: What is the url address to the apache-modules list. Thanks http://modules.apache.org/ No problemo. S. smime.p7s Description: S/MIME cryptographic signature

apache-modules

2006-03-21 Thread William
What is the url address to the apache-modules list. Thanks

Re: svn commit: r330356 - in /httpd/test/trunk/perl-framework/t: apache/ modules/ security/ ssl/

2005-11-02 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Author: stas Date: Wed Nov 2 12:44:13 2005 New Revision: 330356 URL: http://svn.apache.org/viewcvs?rev=330356view=rev Log: tests requiring LWP when LWP is not available are now skipped A note for the test developers. For the future when you finish changing the test

Summary: [apache-modules] Session/Cookie-Based Authentication Library

2005-09-25 Thread Eli Marmor
[cross posting to two mailing lists] So far I've received two recommendations about a C library to help authenticate users based on cookies (and optionally IP/URL/etc.): Reginald De Crombrugghe recommended mod_auth_tkt (one of the libraries which were mentioned in my original question), and Ian

Re: Summary: [apache-modules] Session/Cookie-Based Authentication Library

2005-09-25 Thread Philip M. Gollucci
Eli Marmor wrote: As for the long run, I plan to write my own piece of code, based on libapreq2; I plan to open it, of course. Meanwhile, I want to thank Ian and Reginald for their generous help! I've seen lots of people ask for this. It might not be bad idea to make a libapreq2-util code

Re: Summary: [apache-modules] Session/Cookie-Based Authentication Library

2005-09-25 Thread Bojan Smojver
On Sun, 2005-09-25 at 18:45 +0300, Eli Marmor wrote: If anybody else has anything to add about the differences between these library, or even about another library which does the work, please speak now or forever hold your peace ;-) (just kidding...) Only because of the forever hold your

Re: [apache-modules] Caching a value for the lifetime of a module: CLUELESS

2005-03-08 Thread P. Asokan
Which operating system you are using? If you are using unix os, this problem may be due to the prefork process which will be created to serve for each connection. In that case you may have to use shared memory... Regards, Asok My understanding about per server conf is that any structure

[Fwd: [apache-modules] apache gives me a NULL config_file * pointer]

2004-06-15 Thread Julien ALLANOS
hello, i'm forwarding a mail i sent to the apache-modules ml. i hope i'll have answers here, thanks for feedback. Original Message Subject: [apache-modules] apache gives me a NULL config_file * pointer Date: Tue, 15 Jun 2004 16:20:16 +0200 From: Julien ALLANOS [EMAIL PROTECTED

Re: [apache-modules] Re: Internal redirect from an output filter (Apache2.x)

2004-04-08 Thread Sumeet Singh
William A. Rowe, Jr. wrote: Sumeet Singh wrote: I was wondering if invoking an internal-redirect from within an output filter is legal. I need to do that from my output filter but want to make sure that it conforms to apache2.0 API before I go ahead and design/code it. I presume this

Re: [apache-modules] Re: Internal redirect from an output filter (Apache2.x)

2004-04-08 Thread Andr Malo
* Sumeet Singh [EMAIL PROTECTED] wrote: [internal redirects in output filters] Yes, I also find it unsafe. However, note that some standard modules do that too. For example mod_include runs sub-requests from within its output filters. In my opinion this shouldn't be allowed, because with

Re: [apache-modules] Re: Internal redirect from an output filter (Apache2.x)

2004-04-08 Thread Sumeet Singh
André Malo wrote: * Sumeet Singh [EMAIL PROTECTED] wrote: [internal redirects in output filters] Yes, I also find it unsafe. However, note that some standard modules do that too. For example mod_include runs sub-requests from within its output filters. In my opinion this shouldn't be

Change a Module's Configuration, was Re: [apache-modules] How does a module specify the equivalent of AcceptPathInfo On

2004-03-30 Thread Paul Querna
On Sat, 2004-03-27 at 21:54, Joe Lewis wrote: Allow me to rephrase that in a way I think you are meaning. You are trying to use one module to alter the configuration of another module. It really shouldn't be done. However, anything is possible. Using the ap_get_module_config in a case

Re: [PATCH] pcre fix for apache modules

2004-03-14 Thread Thom May
* Andres Salomon ([EMAIL PROTECTED]) wrote : I prefer the 021-pcre_mangle_symbols.patch patch, even though it's larger; it ensures stability, at the cost of some code duplication. The 020-external_pcre.patch patch isn't as clean as I'd hoped, and for the added complexity, not much memory is

[PATCH] pcre fix for apache modules

2004-03-08 Thread Andres Salomon
Currently, apache2 includes a full version of pcre-3.9 in its sources; this is built during compilation, and statically linked against. The symbols from this library, are exported to apache modules. This is undesirable for some apache modules; for example, php. Php links against libpcre

Re: Help in Writing Apache Modules in C

2004-02-03 Thread ranier
Nick Kew wrote: On Wed, 28 Jan 2004, Will Lowe wrote: If you're looking for Apache 1.x (not 2.x) Given that he's writing C, and that 2.x is a vastly richer development environment than 1.3, why should he even consider that? In 1.3 days, application developers had to resort to all kinds

Re: Help in Writing Apache Modules in C

2004-01-29 Thread Eduardo Franco
PROTECTED] Sent: Thursday, January 29, 2004 11:14 AM To: [EMAIL PROTECTED] Subject: Re: Help in Writing Apache Modules in C If you're looking for Apache 1.x (not 2.x) and you're already fairly proficient in C, check out the excellent book Writing Apache Modules in Perl and C. It's written mostly

Help in Writing Apache Modules in C

2004-01-28 Thread Benedict DSilva
Hi All, I have just joined the group. Please could anyone help me on a tutorial with Writing Apache Modules in C. Awaiting for a Helping Hand. Thanks Warm Regards --BENNY

Re: Help in Writing Apache Modules in C

2004-01-28 Thread Will Lowe
If you're looking for Apache 1.x (not 2.x) and you're already fairly proficient in C, check out the excellent book Writing Apache Modules in Perl and C. It's written mostly with a slant towards Perl but the concepts all apply and the last few chapters give an excellent in-depth view of the C

Re: Help in Writing Apache Modules in C

2004-01-28 Thread Nick Kew
On Wed, 28 Jan 2004, Will Lowe wrote: If you're looking for Apache 1.x (not 2.x) Given that he's writing C, and that 2.x is a vastly richer development environment than 1.3, why should he even consider that? In 1.3 days, application developers had to resort to all kinds of add-ons, none of

RE: Help in Writing Apache Modules in C

2004-01-28 Thread Benedict DSilva
To: [EMAIL PROTECTED] Subject: Re: Help in Writing Apache Modules in C If you're looking for Apache 1.x (not 2.x) and you're already fairly proficient in C, check out the excellent book Writing Apache Modules in Perl and C. It's written mostly with a slant towards Perl but the concepts all apply

Re: [apache-modules] Spam Using SMTP Over HTTP-Proxy

2003-08-28 Thread Ivan Ristic
Eli Marmor wrote: Hi, ... It is VERY easy for mod_proxy of Apache to recognize such sessions and block them. Before I'm starting such a project, I'd like to know: 1. Is there any existing code and/or module that implements this? 2. Is there any plan to add this to Apache / mod_proxy? My plan

[Fwd: Re: [apache-modules] Looking for Filter Writing tutorial]

2003-03-09 Thread Ian Holsman
how about we put these 2 presentations on the 'offical' site and link to them from developer docs? http://www.apache.org/~jwoolley/bucketbrigades/bucketbrigades.pdf http://www.apache.org/~gregames/ap2filters.ppt Original Message Subject: Re: [apache-modules] Looking for Filter

RE: Compiling Apache modules for windows

2002-10-29 Thread Igor Leturia
Hi Günter, A couple of weeks ago I asked in the Apache developpers' list if anyone could compile a third party module (mod_replace) for Windows, and you were very kind and did it. These two weeks I've been trying the module, which sometimes works and sometimes doesn't. After much investigating, I

Re: Compiling Apache modules for windows

2002-10-15 Thread Igor Leturia
Hi all! Günter sent me a binary version of mod_replace. I started trying it and I couldn't get it to work. At last I found that there is an error in the example configuration file. Instead of being 'Replace colour color text/html', it should be 'Replace colour color text/html'. At least this

RE: Compiling Apache modules for windows

2002-10-15 Thread Juan Rivera
regards, Juan C. Rivera Citrix Systems, Inc. -Original Message- From: Igor Leturia [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 6:06 AM To: [EMAIL PROTECTED] Subject: Re: Compiling Apache modules for windows Hi all! Günter sent me a binary version of mod_replace. I

ER: Compiling Apache modules for windows

2002-10-15 Thread Igor Leturia
Thanks very much, Juan! I tried it and it worked! -Jatorrizko mezua- Nondik: Juan Rivera [mailto:[EMAIL PROTECTED]] Bidalia: Asteartea, 2002.eko urriak 15 15:34 Nora: '[EMAIL PROTECTED]' Gaia: RE: Compiling Apache modules for windows Igor, You have to put the replace entries like

ER: Compiling Apache modules for windows

2002-10-14 Thread Igor Leturia
Thanks very much, Günter! I'm going to try it right now! Igor -Jatorrizko mezua- Nondik: Günter Knauf [mailto:[EMAIL PROTECTED]] Bidalia: Ostirala, 2002.eko urriak 11 20:01 Nora: [EMAIL PROTECTED] Gaia: Re: Compiling Apache modules for windows Hi Igor, I'm

Compiling Apache modules for windows

2002-10-11 Thread Igor Leturia
Hi! I'm interested in a third party module for Apache that I found in the internet, but there's only the source code of it (a .c file), not the .so file. I'm a windows user, and I read in the Apache website's faq that only a limited number of the developers have the capability to build the

Re: Compiling Apache modules for windows

2002-10-11 Thread Günter Knauf
Hi Igor, please send me the source or a link where I can find it; and I'll give it a try... in addition you can take a look on my site where you can find a bunch of other module binaries for Win32: http://www.gknw.de/development/apache/ Guenter. I'm interested in a third party module for

Re: Compiling Apache modules for windows

2002-10-11 Thread Günter Knauf
Hi Igor, I'm interested in a third party module for Apache that I found in the internet, but there's only the source code of it (a .c file), not the .so file. I'm a windows user, and I read in the Apache website's faq if that's the module you found: http://pihl.kumpu.org/apache2/ then you

regexp processing and pcre - apache modules restricted to the POSIX interface and passing a string?

2002-10-10 Thread Kent Fitch
I'm finding that using the bucket API to develop filters using Apache2 is very easy and powerful - congratulations to the desiginers. One of the things I'm doing is looking for regular expressions in the contents of buckets. Because the buckets are not null terminated strings, I must copy

Re: Apache Modules.

2002-09-24 Thread Kevin O'Donnell
I'm very beginner to Apache API Programming. Where to find documents? I am working on a tutorial for new Apache2 module programmers. There are still some parts of the documentation I need to touch up, but it's good enough that it may answer some of your questions.

Apache Modules.

2002-09-22 Thread Mustafa Y. Acikyildiz
Hi. I'm very beginner to Apache API Programming. where to find documents?

Re: Apache Modules.

2002-09-22 Thread Maurizio Marini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm very beginner to Apache API Programming. where to find documents? http://httpd.apache.org/docs/misc/API.html - -- Maurizio Marini -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see

Re: Apache Modules.

2002-09-22 Thread Bojan Smojver
, September 22, 2002 7:16 PM Subject: Re: Apache Modules. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm very beginner to Apache API Programming. where to find documents? http://httpd.apache.org/docs/misc/API.html - -- Maurizio Marini -BEGIN PGP SIGNATURE

Re: Apache Modules.

2002-09-22 Thread Mustafa Y. Acikyildiz
thanx this is good. - Original Message - From: Bojan Smojver [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 23, 2002 5:12 AM Subject: Re: Apache Modules. Try this: http://www.onlamp.com/pub/ct/38 I found it to be excellent. Bojan Quoting Mustafa Y

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-30 Thread Graham Leggett
Martin Kraemer wrote: About the X-Forwarded-* stuff: It's non-standard anyway (you can add any X-whatever header and still be RFC2616 compliant) so I'd rather not see it in 1.3 now (maybe in the next release ;-) I've seen proxies like squid hang because of nonstandard headers

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Graham Leggett
Thomas Eibner wrote: Anyone looked at the remaining open bugs in 1.3 and might want to include this patch (and bug)? Only if someone can verify that this patch actually does anything. The proxy has been largely rewritten since then, so this bug might not still be outstanding. There is a

Re: [apache-modules] Setting bytes_sent in Request Record while generatingall headers by myself in Apache 1.3

2002-05-29 Thread Rodent of Unusual Size
Just FYI.. another datum on the 'AG are snobs' scale.. -- #kenP-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, developer, opinionist http://Apache-Server.Com/ Millennium hand and shrimp! ---BeginMessage--- Thomas Eibner wrote: On Tue, May 28, 2002 at

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 06:47:20PM +0200, Graham Leggett wrote: Thomas Eibner wrote: Anyone looked at the remaining open bugs in 1.3 and might want to include this patch (and bug)? Only if someone can verify that this patch actually does anything. The proxy has been largely rewritten

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 07:10:25PM +0200, Graham Leggett wrote: Thomas Eibner wrote: Looking at apache-1.3 in cvs VS httpd-2.0 there seems to be a few changes, and the X-Forwarded-* headers are some of them. I have a patch ready if needed (with what I believe are your comments in it).

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Graham Leggett
Thomas Eibner wrote: Ah yes, X-Forwarded-For is there, but not the two others there is in 2.0 (X-Forwarded-Server and X-Forwared-Host) I read in the source that someone thinks it needs to go into the Via header instead. And as I can read from the source, X-Forwarded-For is only sent when

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 07:20:17PM +0200, Graham Leggett wrote: Thomas Eibner wrote: Ah yes, X-Forwarded-For is there, but not the two others there is in 2.0 (X-Forwarded-Server and X-Forwared-Host) I read in the source that someone thinks it needs to go into the Via header instead. And

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Graham Leggett
Thomas Eibner wrote: Inline patch here, but I'm wondering if you want the X-Forwarded-For header to be stuck inside the conditional too? I think it should be... will sort this out later tonight or first thing tomorrow, have to leave the internet cafe now to fetch someone. Regards, Graham --

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 07:44:16PM +0200, Graham Leggett wrote: Thomas Eibner wrote: Inline patch here, but I'm wondering if you want the X-Forwarded-For header to be stuck inside the conditional too? I think it should be... will sort this out later tonight or first thing tomorrow,

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Greg Marr
At 01:30 PM 05/29/2002, Thomas Eibner wrote: Index: proxy_http.c === RCS file: /home/cvspublic/apache-1.3/src/modules/proxy/proxy_http.c,v retrieving revision 1.98 diff -u -r1.98 proxy_http.c --- proxy_http.c21 Apr 2002

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 02:02:53PM -0400, Greg Marr wrote: At 01:30 PM 05/29/2002, Thomas Eibner wrote: Index: proxy_http.c === RCS file: /home/cvspublic/apache-1.3/src/modules/proxy/proxy_http.c,v retrieving revision 1.98 diff

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 08:18:53PM +0200, Thomas Eibner wrote: On Wed, May 29, 2002 at 02:02:53PM -0400, Greg Marr wrote: At 01:30 PM 05/29/2002, Thomas Eibner wrote: Index: proxy_http.c === RCS file:

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself

2002-05-29 Thread Jim Jagielski
Now is not the time to be adding in code whilly-nilly... -- === Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ A society that will trade a little liberty for a little order will

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Martin Kraemer
On Wed, May 29, 2002 at 06:28:24PM +0200, Thomas Eibner wrote: From: Anthony Howe [EMAIL PROTECTED] Subject: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3 Number: 6841 ap_kill_timeout(r); + + r

Re: [1.3] Proxy fixes and FWD: Re: [apache-modules] Setting bytes_sent in Request Record while generating all headers by myself in Apache 1.3]

2002-05-29 Thread Thomas Eibner
On Wed, May 29, 2002 at 10:44:16PM +0200, Martin Kraemer wrote: Yes, the patch was correct (IMHO) and yes, I committed this one. About the X-Forwarded-* stuff: It's non-standard anyway (you can add any X-whatever header and still be RFC2616 compliant) so I'd rather not see it in 1.3 now