Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
Hi, I' ve search for all the archieve but i couln't find the answer, may be i missed up, don't know. I'm trying to write an apache module and i want to inject some html code into resonses. It might be in body, header or footer. The only thing that i want to implemet is inserting an url or a text

Re: Inject html into response body

2011-12-04 Thread rm
On Sun, Dec 04, 2011 at 11:47:37PM +0200, O??uzhan TOPG?L wrote: Hi, I' ve search for all the archieve but i couln't find the answer, may be i missed up, don't know. I'm trying to write an apache module and i want to inject some html code into resonses. It might be in body, header or footer.

Re: Inject html into response body

2011-12-04 Thread Joshua Marantz
What's your thinking on how you are going to parse the HTML to inject the code? Do you need to parse arbitrary HTML from any website or is this filter targeted at a particular site whose HTML is tailored for this purpose? -Josh On Sun, Dec 4, 2011 at 5:15 PM, r...@tuxteam.de wrote: On Sun,

Re: Inject html into response body

2011-12-04 Thread Oğuzhan TOPGÜL
No, there is no particular web site whoose HTML is tailored for this purpose. At first i think this is not that much hard to add just a url or just a text at the end of the page as a footer. But now, i think this is not that much easy to apply. regards Oguzhan On Mon, Dec 5, 2011 at 12:44 AM,

Re: Inject html into response body

2011-12-04 Thread Ray Morris
purpose. At first i think this is not that much hard to add just a url or just a text at the end of the page as a footer. But now, i think this is not that much easy to apply. Have a look at mod_footer. However you're right, it's not as easy as one might hope. Well, why don't you just

Re: Are we there yet?

2011-12-04 Thread Stefan Fritsch
On Saturday 03 December 2011, William A. Rowe Jr. wrote: On 12/3/2011 1:32 AM, Gregg L. Smith wrote: On 12/2/2011 3:48 PM, Stefan Fritsch wrote: - the follwing modules added since 2.2 lack documentation - mod_socache_dbm - mod_socache_memcache - mod_socache_shmcb These are

Re: Are we there yet?

2011-12-04 Thread Nick Kew
On 4 Dec 2011, at 04:16, Gregg L. Smith wrote: What seems to have not made it in there .. I am not against adding them to mod_ssl, since I see no other use for these specific modules. mod_authn_socache is probably the first other module to benefit from separating out this functionality

Re: svn commit: r1209777 - in /httpd/httpd/branches/2.4.x/include: ap_mmn.h http_log.h

2011-12-04 Thread Stefan Fritsch
On Saturday 03 December 2011, Nick Kew wrote: On 2 Dec 2011, at 23:19, s...@apache.org wrote: Modified: httpd/httpd/branches/2.4.x/include/ap_mmn.h httpd/httpd/branches/2.4.x/include/http_log.h [...] + * 20111202.1 (2.5.0-dev) add APLOGNO() 2.4 or 2.5? Changed it to 2.4. I

Re: Are we there yet?

2011-12-04 Thread Gregg L. Smith
On 12/4/2011 1:02 AM, Stefan Fritsch wrote: On Saturday 03 December 2011, William A. Rowe Jr. wrote: On 12/3/2011 1:32 AM, Gregg L. Smith wrote: On 12/2/2011 3:48 PM, Stefan Fritsch wrote: - the follwing modules added since 2.2 lack documentation - mod_socache_dbm - mod_socache_memcache -

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 6:16 AM, Gregg L. Smith wrote: What seems to have not made it in there .. I am not against adding them to mod_ssl, since I see no other use for these specific modules. I see tonnes of uses for these modules. We already have mod_authn_socache in v2.4 right now, and

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 11:02 AM, Stefan Fritsch wrote: Isn't the answer to this that all consumers of slotmem and socache should simply point to the mod_slotmem_*/mod_socache_* modules in the error message if the configured provider is not found? Then the user would immediately know that

Re: svn commit: r1207721 - in /httpd/httpd/branches/2.4.x: ./ build/rpm/httpd.spec.in

2011-12-04 Thread Rainer Jung
On 29.11.2011 13:12, Graham Leggett wrote: On 29 Nov 2011, at 11:55, Igor Galić wrote: OpenSSL (and cascading deps to it) mod_ssl mod_session mod_session_crypto Neither mod_session nor mod_session_crypto have any hard coded links to openssl (or any other library), it's all abstracted away.

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 12:28 AM, William A. Rowe Jr. wrote: It isn't. Someone trimming their LoadModule lines will undoubtedly hit the wall trying to figure out why they couldn't just switch from memcache or dbm back to shmcb. Someone else will break there server simply removing unfamiliar

Re: Stray svn:mergeinfo on files

2011-12-04 Thread Rainer Jung
On 30.11.2011 01:02, Graham Leggett wrote: Hi all, While merging I am getting a lot of stray svn:mergeinfo changes on arbitrary files, for example: M modules/core/mod_watchdog.c M modules/core/mod_so.c M modules/core/Makefile.in M modules/core/config.m4 M

Re: svn commit: r1207721 - in /httpd/httpd/branches/2.4.x: ./ build/rpm/httpd.spec.in

2011-12-04 Thread Rainer Jung
On 04.12.2011 14:15, Rainer Jung wrote: On 29.11.2011 13:12, Graham Leggett wrote: On 29 Nov 2011, at 11:55, Igor Galić wrote: OpenSSL (and cascading deps to it) mod_ssl mod_session mod_session_crypto Neither mod_session nor mod_session_crypto have any hard coded links to openssl (or any

Re: svn commit: r1203859 [2/2] - in /httpd/httpd/trunk/modules/proxy: mod_proxy.c ...

2011-12-04 Thread Jim Jagielski
On Dec 1, 2011, at 8:35 PM, Gregg L. Smith wrote: @@ -551,7 +546,7 @@ static int scgi_handler(request_rec *r, cleanup: if (backend) { backend-close = 1; /* always close the socket */ -ap_proxy_release_connection(PROXY_FUNCTION, backend, r-server); +

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 3, 2011, at 1:30 PM, Graham Leggett wrote: On 03 Dec 2011, at 2:49 AM, William A. Rowe Jr. wrote: On the subject of logs-relative vs absolute, / should prevail, the colon prefix is unacceptable. On the subject of anonymous, Anonymous mappings are mappings of that area of the

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 2, 2011, at 6:48 PM, Stefan Fritsch wrote: Hi, where are we WRT 2.4? There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all Goodness. Ideally, I'd like to release 2.4.0 before the end of the year, but starting off 2012 with a new

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 2, 2011, at 7:08 PM, William A. Rowe Jr. wrote: I was reading http://httpd.apache.org/docs/trunk/mod/mod_slotmem_shm.html and am rather fluxored that the authors apparently don't know the definition of the word anonymous shared memory. And there is a brand new syntax if users want

Re: Are we there yet?

2011-12-04 Thread Igor Galić
- Original Message - On Dec 2, 2011, at 6:48 PM, Stefan Fritsch wrote: Hi, where are we WRT 2.4? There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all Goodness. Ideally, I'd like to release 2.4.0 before the end of

Re: svn commit: r1203859 [2/2] - in /httpd/httpd/trunk/modules/proxy: mod_proxy.c ...

2011-12-04 Thread Rainer Jung
On 04.12.2011 15:38, Jim Jagielski wrote: On Dec 1, 2011, at 8:35 PM, Gregg L. Smith wrote: @@ -551,7 +546,7 @@ static int scgi_handler(request_rec *r, cleanup: if (backend) { backend-close = 1; /* always close the socket */ -

Re: Are we there yet?

2011-12-04 Thread Stefan Fritsch
On Sun, 4 Dec 2011, Jim Jagielski wrote: There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all Goodness. Ideally, I'd like to release 2.4.0 before the end of the year, but starting off 2012 with a new httpd release also makes some sense as

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 5:01 PM, Jim Jagielski wrote: As you likely know, the origins of slotmem grew out of the httpd-proxy-scoreboard branch (~5.5 years ago) and I assume jfclere had reasons for his choice for how to setup naming of paths, etc... But that is water under the bridge; if we wish

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 5:41 PM, Stefan Fritsch wrote: I was kind of hoping for GA before Christmas... +1. We could also consider putting the focus more on polishing by making API changes and large refactorings review-then-commit. Probably with the exception of the proxy/slotmem plans that

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 3:27 AM, Nick Kew wrote: We have http://httpd.apache.org/docs/2.4/socache.html In the absence of actual module pages, a solution would be to create the URLs for them, with redirection to that page. Add appropriate links and they're well-documented for someone reading

Slotmem/socache module names vs. provider names

2011-12-04 Thread Stefan Fritsch
mod_slotmem_plain plain mod_slotmem_shm shared ! mod_socache_dbm dbm mod_socache_dc dc mod_socache_memcachemc ! mod_socache_shmcb shmcb Should we align the provider names with the module names? E.g. change shared to shm and mc to memcache?

Re: Slotmem/socache module names vs. provider names

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 6:01 PM, Stefan Fritsch wrote: mod_slotmem_plain plain mod_slotmem_shm shared! mod_socache_dbm dbm mod_socache_dcdc mod_socache_memcache mc! mod_socache_shmcb shmcb Should we align the provider

Re: Windows Laundry List pt3, mod_watchdog

2011-12-04 Thread Rainer Jung
Picking up this old discussion: On 03.07.2011 19:40, William A. Rowe Jr. wrote: On 7/1/2011 12:26 AM, Mladen Turk wrote: On 07/01/2011 06:31 AM, Gregg L. Smith wrote: Hi folks, Well, this is the same chunk of Win32 specific debugging code causing this module to crash yet again. Gregg: Can

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/03/2011 08:32 AM, Gregg L. Smith wrote: On 12/2/2011 3:48 PM, Stefan Fritsch wrote: - modules docs - the follwing modules added since 2.2 lack documentation - mod_watchdog - mod_heartbeat - mod_heartmonitor - mod_lbmethod_heartbeat I vote these off the Windows boat, mod_watchdog crashes

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 4, 2011, at 10:41 AM, Stefan Fritsch wrote: On Sun, 4 Dec 2011, Jim Jagielski wrote: There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all Goodness. Ideally, I'd like to release 2.4.0 before the end of the year, but starting off

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
I'm +1 for committing as is and letting people test/patch from there and then backporting ;) On Dec 4, 2011, at 10:41 AM, Graham Leggett wrote: On 04 Dec 2011, at 5:01 PM, Jim Jagielski wrote: As you likely know, the origins of slotmem grew out of the httpd-proxy-scoreboard branch (~5.5

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 4, 2011, at 10:52 AM, Graham Leggett wrote: On 04 Dec 2011, at 5:41 PM, Stefan Fritsch wrote: I was kind of hoping for GA before Christmas... +1. We could also consider putting the focus more on polishing by making API changes and large refactorings review-then-commit.

Re: Slotmem/socache module names vs. provider names

2011-12-04 Thread Jim Jagielski
On Dec 4, 2011, at 11:01 AM, Stefan Fritsch wrote: mod_slotmem_plain plain mod_slotmem_shm shared! mod_socache_dbm dbm mod_socache_dcdc mod_socache_memcache mc! mod_socache_shmcb shmcb Should we align the

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/04/2011 06:37 PM, Jim Jagielski wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Regards -- ^TM

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 8:03 PM, Mladen Turk wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Ideally we want apr-util v1.4.0, which is yet to be released. I've proposed to RM a release of apr-util this weekend or next week to the APR project

Re: Are we there yet?

2011-12-04 Thread Mladen Turk
On 12/04/2011 07:25 PM, Graham Leggett wrote: On 04 Dec 2011, at 8:03 PM, Mladen Turk wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Ideally we want apr-util v1.4.0, which is yet to be released. I've proposed to RM a release of apr-util

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 4, 2011, at 1:25 PM, Graham Leggett wrote: On 04 Dec 2011, at 8:03 PM, Mladen Turk wrote: Let's shoot for an RC1 this week. I'll RM. Do we have bundled apr/apr-util versions defined? Ideally we want apr-util v1.4.0, which is yet to be released. I've proposed to RM a release of

Re: Are we there yet?

2011-12-04 Thread Stefan Fritsch
On Sunday 04 December 2011, Jim Jagielski wrote: I also need to look at the event changes as well in trunk to see if they are in 2.4.0 as well (or if they are something we could easily add post 2.4.0)... The event changes in trunk are not ready for 2.4, see

Re: svn commit: r1210219 - /httpd/httpd/trunk/include/ap_mmn.h

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 10:58 PM, s...@apache.org wrote: URL: http://svn.apache.org/viewvc?rev=1210219view=rev Log: -1 to introducing new months so late in the release cycle But my lucky number is 13... :) - * 20111303.0 (2.5.0-dev) Optional ap_proxy_retry_worker(), remove Regards, Graham --

Re: Are we there yet?

2011-12-04 Thread Graham Leggett
On 04 Dec 2011, at 7:38 PM, Jim Jagielski wrote: I'm +1 for committing as is and letting people test/patch from there and then backporting ;) Done in r1210261. Can you give it a try? Regards, Graham --

Re: Are we there yet?

2011-12-04 Thread Noel Butler
On Sun, 2011-12-04 at 09:47 -0500, Jim Jagielski wrote: On Dec 2, 2011, at 6:48 PM, Stefan Fritsch wrote: Hi, where are we WRT 2.4? There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all Goodness. Ideally, I'd like to release

Re: Are we there yet?

2011-12-04 Thread Jim Jagielski
On Dec 4, 2011, at 5:29 PM, Graham Leggett wrote: On 04 Dec 2011, at 7:38 PM, Jim Jagielski wrote: I'm +1 for committing as is and letting people test/patch from there and then backporting ;) Done in r1210261. Can you give it a try? Thx. will do!

Re: Slotmem/socache module names vs. provider names

2011-12-04 Thread William A. Rowe Jr.
On 12/4/2011 10:01 AM, Stefan Fritsch wrote: mod_slotmem_plainplain mod_slotmem_shmshared! mod_socache_dbmdbm mod_socache_dcdc mod_socache_memcachemc! mod_socache_shmcbshmcb Should we align the provider names with the module names? E.g.

Re: svn commit: r1210219 - /httpd/httpd/trunk/include/ap_mmn.h

2011-12-04 Thread William A. Rowe Jr.
On 12/4/2011 3:59 PM, Graham Leggett wrote: On 04 Dec 2011, at 10:58 PM, s...@apache.org wrote: URL: http://svn.apache.org/viewvc?rev=1210219view=rev Log: -1 to introducing new months so late in the release cycle But my lucky number is 13... :) I suspect that adding an entire month would

Re: Are we there yet?

2011-12-04 Thread William A. Rowe Jr.
On 12/4/2011 5:02 PM, Noel Butler wrote: On Sun, 2011-12-04 at 09:47 -0500, Jim Jagielski wrote: On Dec 2, 2011, at 6:48 PM, Stefan Fritsch wrote: Hi, where are we WRT 2.4? There seems to be a lot of renewed effort in getting 2.4/trunk is a really releasable state, which is all

Re: svn commit: r1210287 [6/12] - in /httpd/httpd/branches/2.4.x: ./ modules/aaa/ modules/arch/netware/ modules/arch/unix/ modules/arch/win32/ modules/cache/ modules/cluster/ modules/core/ modules/dat

2011-12-04 Thread William A. Rowe Jr.
On 12/4/2011 6:08 PM, s...@apache.org wrote: -ap_log_error(APLOG_MARK, APLOG_ERR, rc, s, +ap_log_error(APLOG_MARK, APLOG_ERR, rc, s, APLOGNO(00654) Did you really mean for these to be in octal?

Re: Windows Laundry List pt3, mod_watchdog

2011-12-04 Thread Mladen Turk
On 12/04/2011 10:33 PM, Gregg L. Smith wrote: On 12/4/2011 8:46 AM, Rainer Jung wrote: Picking up this old discussion: On 03.07.2011 19:40, William A. Rowe Jr. wrote: On 7/1/2011 12:26 AM, Mladen Turk wrote: On 07/01/2011 06:31 AM, Gregg L. Smith wrote: Hi folks, Well, this is the same

Re: Windows Laundry List pt3, mod_watchdog

2011-12-04 Thread William A. Rowe Jr.
On 12/5/2011 1:22 AM, Mladen Turk wrote: Like said on another thread, give me couple of days and I'll fix the issue. Well, as soon as I compile httpd-2.4 on windows which might be tricky cause build procedure is completely broken and it doesn't compile any more out of the box. It has been