On Thu, Oct 9, 2008 at 14:40, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I was wondering what would be the right way to get the number of bytes
/ packets that are sent / received in an Apache module for httpd-2.1
and higher (including the HTTP headers).
Check server/core.c and
On Thu, Oct 9, 2008 at 15:11, Sorin Manolache [EMAIL PROTECTED] wrote:
On Thu, Oct 9, 2008 at 14:40, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I was wondering what would be the right way to get the number of bytes
/ packets that are sent / received in an Apache module for httpd-2.1
On Tue, Nov 4, 2008 at 11:46, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I was wondering if it is possible to get a hold on the data that is actually
sent back to the client, preferably in the hook ap_hook_log_transaction. In
our case we sent back XML data that might be zipped by
On Sun, Jan 4, 2009 at 05:03, Jacques Amar jal...@amar.com wrote:
Where to begin
I am creating a global pool/hash in which I save cached, hard to calculate
data (pre-compiled regex expressions etc.). I also store pages I've created
using this data in memcached (using the APR interface).
On Mon, Feb 9, 2009 at 19:04, Thomas Moyer tmmo...@cse.psu.edu wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is it possible to have some global data that is accessible to all request
threads. Something like a socket is what I am interested in. For example,
if I have a socket that
On Wed, Jun 3, 2009 at 19:41, Elison Smith elison.sm...@gmail.com wrote:
Hello,
(I realize that this question is not an exact fit for this mailing list)
I have a website that runs Apache 2.x. I want to loadtest this site.
I want to loadtest with as much as 50-100 requests per second.
Any
On Mon, Aug 24, 2009 at 00:08, Alexander
Farberalexander.far...@gmail.com wrote:
Hello,
I have a multiplayer game with Flash clients:
1) The Flash client sends HTTP requests to the Apache module,
2) then the module write()s it over a Unix pipe to the game daemon,
3) then the Apache module
On 2012-08-21 13:39, nik600 wrote:
static int kcache_handler_translate(request_rec* r)
{
if (r-method_number != M_GET r-method_number != M_POST){
return HTTP_METHOD_NOT_ALLOWED;
}
if(
strstr(r-unparsed_uri, /files/anteprima)==NULL){
On Fri, Nov 20, 2009 at 22:01, pranil dasika pranil.das...@gmail.com wrote:
Hi,
I am trying to write a custom module where I need to read post parameters
from the request. I guess apreq library is relevant to this but could not
find any substantial examples or documents.
Is there any other
Hello,
I would like to be able to send POST subrequests using mod_proxy.
ap_proxy_http_request does not allow the inclusion of the request
body. The rationale is that otherwise the subrequest would consume the
main request's body. This is true, however it does not allow sending a
POST request
On Wed, Jan 13, 2010 at 10:55, Graham Leggett minf...@sharp.fm wrote:
On 13 Jan 2010, at 11:40 AM, Sorin Manolache wrote:
Is there another way to make POST subrequests with subrequest-specific
request bodies? (i.e. not with the request body of the main request)
The reason subrequests don't
On Wed, Jan 13, 2010 at 11:21, Graham Leggett minf...@sharp.fm wrote:
On 13 Jan 2010, at 12:07 PM, Sorin Manolache wrote:
I understand. However, I don't want to make a subrequest with the body
of the main request. I want to be able to make a subrequest with a
totally new request body
On Wed, Jan 13, 2010 at 12:01, Graham Leggett minf...@sharp.fm wrote:
On 13 Jan 2010, at 12:39 PM, Sorin Manolache wrote:
Exactly. I thought of the same thing. However, if this whatever is a
ap_run_sub_req and the requests passes through mod_proxy, mod_proxy
does not include the request body
On Mon, Jan 18, 2010 at 18:50, Mark Watts m.wa...@eris.qinetiq.com wrote:
[I originally sent this to users@ but here might be a better place to
ask]
I have a two Apache 2.2.13 servers. One is a straight proxy (doing SSL
offload) through to the other.
The proxy has the following settings
On Wed, Jan 20, 2010 at 01:54, Jeff Tharp jth...@esri.com wrote:
That does fix this issue, but the browser still gets a 200 instead of a 404.
I know that's caused some confusion for our operation as well. Think about
SEO here -- we have a site behind an Apache-based reverse proxy. We want
in mod_apreq2.so.
Enable the module (LoadModule apreq2_module /path/to/mod_apreq2.so)
and try again.
S
2010/2/16 Sorin Manolache sor...@gmail.com
2010/2/16 Frédéric Laurendeau frederic.laurend...@gmail.com:
Thanks for your help !
I tried it but it doesn't work, I get the following errors.
/usr
In my opinion the problem is here:
alias = (alias_t *)reqc-aliases-elts[k];
Try
alias = ((alias_t *)reqc-aliases-elts)[k];
Sorry
alias = ((alias_t *)reqc-aliases-elts)[k];
or equivalently
alias = ((alias_t *)reqc-aliases-elts) + k;
---
HERE IS:
#include httpd.h
#include http_config.h
#include http_protocol.h
#include http_request.h
#include http_log.h
#include ap_compat.h
#include apr_buckets.h
On Thu, Mar 31, 2011 at 19:10, Niko Goutte ngou...@hotmail.com wrote:
Date: Thu, 31 Mar 2011 18:22:34 +0200
Subject: Re: cpu 100%
From: sor...@gmail.com
To: modules-...@httpd.apache.org
On Mon, Jun 20, 2011 at 22:46, Jason Funk jasonlf...@gmail.com wrote:
I have moved my configuration over to shared memory (following
mod_shm_counter as an example) and it conceptually seems to be working. I am
storing a struct in the memory and members that share it's memory (such as
the last
On Wed, Nov 16, 2011 at 21:03, Pranesh Vadhirajan
vadhira...@teralogics.com wrote:
Hello Everyone,
I am trying to understand how to implement sharing of objects in memory
between various processes in apache. I have been using the routines defined
in sys/mman.h to implement the shared
On Tue, Nov 22, 2011 at 21:25, Oğuzhan TOPGÜL oguzhantop...@gmail.com wrote:
hey guys,
i'm in terrible with these shared memory.
I tried to write a basic module by looking at the examples that basic module
just holds a counter and prints it to the client.
when i compile the code attached, i
Hello,
I am writing a DSO apache module that needs some
initialisation---shared memory segment creation and a pipe---before
performing its work.
I have hooked post_config and I have put the initialisation there.
static int *seg = NULL;
static int p[2];
post_config_hook() {
if (seg == NULL) {
On 2008-07-17, Jason Fister [EMAIL PROTECTED] wrote:
Hello there,
I have a module thats working as designed and the only reason I am sending
this mail is because I want to confirm what I am doing is the correct way to
do it.
A little background:
We wanted to convert some legacy
On Thu, Jul 31, 2008 at 16:26, lusob [EMAIL PROTECTED] wrote:
I'm developing a apache module. This module use the libapreq library, for a
most simple instalation I would rather install only my module to the
customer, I would prefer that the customer doesn't have to install the
libapreq.
Are
On Tue, Aug 12, 2008 at 20:50, Harold J. Ship
[EMAIL PROTECTED] wrote:
I'm in the middle of porting an application from IIS/Windows to Apache 2.2
module. In the application, there is a lot of global data. The data contains
both:
- application configuration that is read on startup
These
On Fri, Aug 29, 2008 at 20:52, Roy Wellington [EMAIL PROTECTED] wrote:
I'm currently trying to port mod_auth_script, a Apache 1.x module that
used the result of a script to allow/deny an authentication. The issue
I'm currently running into is sub requests - it seems that whatever
output and
On Fri, Sep 5, 2008 at 05:11, Andrej van der Zee
[EMAIL PROTECTED] wrote:
2) I do need to attach to the thread/process handling the request to
extract information just after starting and just before ending. Can I
do this in an Apache module? I found the ap_hook_child_init() function
but no
On Fri, Sep 5, 2008 at 11:19, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
Thanks for your comments.
child_init is not the appropriate hook for your purpose. Use
ap_hook_fixups for getting the ID and ap_hook_log_transaction for
logging.
In ap_hook_fixups, is it possible to get the
Normally, the check_user_id of the proprietary module should return
DECLINE if the AuthType does not match its auth type. Let us assume
that the auth type of the proprietary module is saf. The auth type
is set with the AuthType directive.
So, what you could do is to change the auth type in the
On Thu, Oct 9, 2008 at 15:54, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
No, the Content-Length doesn't include the size of the headers.
Yes of course, but you could add the length of all r-headers_in.
It's not very reliable. In headers_out you have things like key and
value, while
On Thu, Oct 9, 2008 at 15:44, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Thanks for your reply!
Giving it a second thought, the problem looks complicated. Such
filter-based counters would count the traffic of _one_ apache process.
When you increment the counter, you have to protect it from
On Sat, Oct 18, 2008 at 15:20, Andrej van der Zee
[EMAIL PROTECTED] wrote:
Hi,
I did not find a solution, I just stopped using prepared statements
altogether. But I tried to isolate the problem just now, and found somehow
that I cannot use FLOAT in prepared statement somehow (when I tried INT
On Sun, Nov 16, 2008 at 00:51, Jos Ewert [EMAIL PROTECTED] wrote:
Hi,
Im trying to modify mod_fcgid to suit my needs, but I have a problem with
reading my newly added config directive.
For some reason it sets the config in my setter right but in the getter it
always reads the default value.
On Thu, Nov 20, 2008 at 03:42, William A. Rowe, Jr. [EMAIL PROTECTED] wrote:
Andrej van der Zee wrote:
Hi,
I was wondering if it is possible to load modules at run-time, without
restarting httpd?
No.
Yes.
They expect their initialization to occur when there is nothing but a parent
, apr_bucket_brigade *
bb,
ap_input_mode_t mode,apr_read_type_e
block,
apr_off_t readbytes)
{
//Function Body.
}
Regards,
Ashish
On Tue, Dec 2, 2008 at 2:50 PM, Sorin Manolache [EMAIL PROTECTED] wrote:
On Tue, Dec 2, 2008 at 10
On Wed, Dec 10, 2008 at 06:00, Jayasingh Samuel
[EMAIL PROTECTED] wrote:
I have 100's of files stored in different directories and i load all these in
the memory in arrays and hash table. and i want to reload the memory
automatically using some handlers. When i do this in only the
On Thu, Dec 11, 2008 at 19:55, Ray Morris supp...@bettercgi.com wrote:
On 12/10/2008 02:09:19 AM, Sorin Manolache wrote:
I would propose the following approach:
Hook post_config. This one is executed once by the parent process
before any child is spawned. Therefore, any resource opened
On Thu, Dec 11, 2008 at 22:08, Sorin Manolache sor...@gmail.com wrote:
On Thu, Dec 11, 2008 at 19:55, Ray Morris supp...@bettercgi.com wrote:
On 12/10/2008 02:09:19 AM, Sorin Manolache wrote:
I would propose the following approach:
Hook post_config. This one is executed once by the parent
On Sat, Dec 13, 2008 at 18:52, Sam Carleton scarle...@miltonstreet.com wrote:
I thought I had seen a way to do an internal redirect in a module such
that the browser would never be the wiser. Is there? If so, how do I
do it?
The reason is that I have coded myself into a hole. I have a
On Sun, Dec 14, 2008 at 17:59, Sam Carleton scarle...@miltonstreet.com wrote:
On Sun, Dec 14, 2008 at 6:37 AM, Sorin Manolache sor...@gmail.com wrote:
I think the 500 was caused by an infinite loop:
if (!ap_is_initial_req(r))
return DECLINED;
const char *note = apr_table_get(r-notes
On 2008-12-22, Andrej van der Zee andrejvander...@gmail.com wrote:
Hi,
I need to initialise some structures for each process (in prefork MPM)
when it is created, and need to be able to access these structures in
ap_hook_post_read_request and ap_hook_log_transaction handlers. I
would like
On Wed, Jan 7, 2009 at 07:14, Juhani Connolly juh...@ninja.co.jp wrote:
I'm currently working on modifying a php based application into an apache
module.
The short of it is that I want to send a Location header with a 0 content
length message and headers for cache-control and pragma.
Setting
On Tue, Jan 13, 2009 at 21:48, wolfgang wolfgang...@gmail.com wrote:
Hi gurus,
I made a sample apache module, mod_test, by
/usr/local/apache/bin/apxs -g -n test.
Now I want to make the mod_test call the following source ( actually,
an add_test function ).
--- my_test.h
as follows
$ make
and to install
$ make install
I know I should do something at the all target like making
my_test.c's object file and link it to mod_test but don't know how to
specify at all...
Thanks in advance.
wolfgang
On Wed, Jan 14, 2009 at 6:04 AM, Sorin Manolache sor
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.
mostly.
I do not really understand your problem and your need to use threads.
Why not hook log_transaction for your purpose?
S
-Original Message-
From: Sorin Manolache [mailto:sor...@gmail.com]
Sent: Friday, February 13, 2009 4:21 PM
To: modules-dev@httpd.apache.org
Subject: Re: Regarding
On Sun, Mar 1, 2009 at 00:57, Sam Carleton scarle...@miltonstreet.com wrote:
I just upgraded from Apache 2.2.8 to 2.2.11. My module uses apreq.h,
but that is not part of 2.2.11. Is that an extra header I found
somewhere or was it removed?
I think it is an extra header:
On Fri, Mar 13, 2009 at 16:21, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi,
Do not do this - a restart should be a restart, not a half of a restart.
You should be reinitializing whatever you do on a restart as well as a
start. That's the whole point.
I have one phrase that
On Mon, Mar 16, 2009 at 19:04, Saju Pillai saju.pil...@gmail.com wrote:
Sorin Manolache wrote:
2009/3/16 Arturo 'Buanzo' Busleiman bua...@buanzo.com.ar:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Hi! From within my module, I'd like to make an HTTP request from another
HTTP server
On Tue, Mar 17, 2009 at 13:23, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi,
I was wondering if there is an analogue hook like child_init() for
threads that I can use for doing some time-consuming
thread-initialisation that should not slow down an HTTP request
handler. More
On Wed, Mar 18, 2009 at 02:42, Brooks Sizemore bro...@darg.net wrote:
Hello modules-dev,
What I'm trying to do may not be possible, but I thought I'd ask here. What
I'd like to do is have all of the error messages that get sent to the error
log available for redirection to the client browser.
On Sun, Mar 22, 2009 at 22:05, Alexander Hjalmarsson hja...@sgh.se wrote:
-Original Message-
From: Sorin Manolache [mailto:sor...@gmail.com]
Sent: den 22 mars 2009 19:57
To: modules-dev@httpd.apache.org
Subject: Re: path problem
On Sun, Mar 22, 2009 at 11:24, Alexander Hjalmarsson
On Thu, Mar 26, 2009 at 09:37, Marco Spinetti m.spine...@pisa.iol.it wrote:
I have a doubt about ho to set multiple cookies.
I'm using apache 2.2 and in my module handler I'm trying to set two
different cookies with:
apr_table_set(r-headers_out, Set-Cookie, co);
apr_table_set(r-headers_out,
On Tue, Mar 31, 2009 at 07:44, Richard Langly
richard.ringo.lan...@gmail.com wrote:
I'm running gentoo and trying to see my helloworld module which I got
from the apache modules book. So I try to hit
http://10.0.2.20/helloworld, but nothing happens exept that I get a
'file does not exist' in
On Thu, Apr 2, 2009 at 19:45, Dave Ingram d...@dmi.me.uk wrote:
Hi guys,
Is there any way that my module can detect which APR features are
enabled in Apache? It relies on DBD, and if that's not available then my
module just segfaults, which isn't very friendly. I'd prefer to give an
error
On Tue, Apr 7, 2009 at 03:27, Richard Langly
richard.ringo.lan...@gmail.com wrote:
Hi all,
I've written an small hello world like module and compiled it as such.
sudo apxs -lcar -ci ./mod_car.c
But when I try to start it, I get the following error ...
$ /etc/init.d/apache2
On Mon, Apr 13, 2009 at 13:46, Juhani Connolly juh...@ninja.co.jp wrote:
I'm currently trying to iron out some bugs in a module I'm working and have
spent a day trying to get a debug environment working properly for apache.
My ./configure for apache itself was the following:
OPTIM=-O0\
On Tue, May 12, 2009 at 03:40, naranja naranja naranja...@gmail.com wrote:
Hello, im new to apaches - module. But i have some idea, don't have
knowldge big enough to solve this problem. Say me if it is possible to
do such thing, i present on the following image:
http://yfrog.com/0fquestiondj
On Sun, May 17, 2009 at 01:07, Fabio Zund fab...@eiffel.com wrote:
Joe Lewis wrote:
Fabio Zund wrote:
However, when I compile and test the module on the apache (also version
2.2.11) that comes with Ubuntu 9.04, all i get are segfaults.
Does anyone know differences between the original
On Tue, Jun 2, 2009 at 14:45, Sam Carleton scarle...@miltonstreet.com wrote:
I do develop Apache Modules which is why I thought to ask this question
here...
I run a micro ISV out of my home and I only have one external IP address. I
need to have some services on Apache and others on IIS.
On Wed, Jul 8, 2009 at 08:48, Jaysingh
Samueljayasingh.sam...@hotmail.com wrote:
Hi all,
Please help me out in this.
I have Name based virtual host and i place lots of directives from which my
modules takes input. Because of adding these directives i face memory leak..
The httpd memory
On Thu, Jul 16, 2009 at 00:39, Anthony J.
Biaccoabia...@formatdynamics.com wrote:
I'm trying to use mod_deflate to compress data coming out of tomcat
through mod_jk and need the proper content-length header set for the
COMPRESSED data, but can't do this because the data is streamed and sent
On Tue, Aug 18, 2009 at 08:38, Michael Spieglem...@nauticaltech.com wrote:
Nick Kew wrote:
Michael Spiegle wrote:
Hello,
I have a module I am writing which implements a content-generator and
a filter. If I make a sub-request from within my content-generator,
the filter's (request_rec*)f-r
On Fri, Aug 21, 2009 at 11:28, Alexander
Farberalexander.far...@gmail.com wrote:
Hello,
I have a multiplayer flash game talking to an Apache module
(and the module in turn talks over a Unix pipe to the backend-daemon).
It works ok, but is naturally a bit sluggish because updates
are being
On Wed, Sep 2, 2009 at 14:58, Robert Schulzer...@bytecamp.net wrote:
Hi,
a module creates a named shared memory segment in the post_config hook.
During child initialisation, apr_shm_attach is called, which in my case
fails with permission denied.
Is this considered normal behaviour? How can
On Tue, Sep 8, 2009 at 13:54, Jaysingh Samuel
jayasingh.sam...@hotmail.comwrote:
Hi soren,
Thanks for useful information on this.
We are not spawning children from the pre/post config, but still i could
see the long lost child alerts. This alerts is coming only on graceful
restart(SIGUSR)
On Tue, Nov 10, 2009 at 23:40, Michael Durket
dur...@highwire.stanford.edu wrote:
Based on the few books that describe Apache module writing and a presentation
that I've found on the web from an Apache conference, the advice to module
writers is to remember that Apache calls the post-config
On Tue, Dec 1, 2009 at 09:26, Micah Yoder mi...@yoderdev.com wrote:
Hello,
I'm new to this. Just read most of Nick Kew's book and am trying to write a
module that is a thin-as-possible layer between an AJAX type rich client web
app and an SQL database. I then hope to build a small CMS on top
On Tue, Dec 8, 2009 at 05:11, partysoft partys...@gmail.com wrote:
I am looking for a solution to limit the bandwith for the users of a site
that have access to some mp3 / subscription. I don't want to serve files
through PHP, but directly with some apache module..
do i have to count every
By the way. The order in which the callbacks are called is
translate_name, then authentication/authorisation and last fixups.
If you put the RewriteRule at server level then it is applied during
the translate_name callback.
If you put it inside a Location directive, it is applied during the
2010/2/16 Frédéric Laurendeau frederic.laurend...@gmail.com:
Hi,
I am trying to write a module which will get the request body, process it
and write generated content in the response.
I have seen that some of you used aprec to get the request body but I just
cannot manage to build my module
/mod_maquette.so
cp: cannot stat `.libs/mod_maquette.so': No such file or directory
apxs:Error: Command failed with rc=65536
2010/2/16 Sorin Manolache sor...@gmail.com
2010/2/16 Frédéric Laurendeau frederic.laurend...@gmail.com:
Hi,
I am trying to write a module which will get the request
On Sat, Mar 27, 2010 at 12:28, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi,
Maybe a bit off-topic for this mailing list, but I need to do the same
preload-trick for CGI applications written in C++. I was thinking
about a wrapper bash-script that usese LD_PRELOAD in addition to a
On Thu, Apr 22, 2010 at 05:47, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi,
I have a question about apr_pool_cleanup_register for a child's pool.
I register a cleanup function that is called when the pool is
destroyed. In the cleanup function, I join a background thread that
first
On Wed, Apr 21, 2010 at 22:51, Nick Kew n...@apache.org wrote:
On 21 Apr 2010, at 20:42, Some Guy wrote:
Hi all,
Is there any facility in the Apache libs that allows module developers to
act as a client?
The usual way would be to harness mod_proxy, commonly in a subrequest.
You don't
On Wed, Aug 18, 2010 at 14:24, Martin Townsend
martin.towns...@power-oasis.com wrote:
Hi,
I'm currently trying to add the ability to redirect requests for the initial
html page to a captcha page when there is no session or no valid session.
Currently I'm doing this in the fixups hook:
2010/9/19 whut_jia whut_...@163.com:
Hello,
I am new to apache module development,and now I have a problem.
Now,I am writing a handler module.In this module,I need validate
username/password infomation sent by user.After validating,I set cookie into
On Tue, Oct 26, 2010 at 06:47, Mike Meyer
mwm-keyword-apache.b9a...@mired.org wrote:
On Tue, 26 Oct 2010 06:03:48 +0200
Ben Noordhuis i...@bnoordhuis.nl wrote:
Mike, is your code available anywhere?
Unfortunately, a lot of what happens after the connection is made is
proprietary. I might be
On Tue, Oct 26, 2010 at 20:36, Mike Meyer
mwm-keyword-apache.b9a...@mired.org wrote:
On Tue, 26 Oct 2010 10:03:11 +0100
Nick Kew n...@apache.org wrote:
On 26 Oct 2010, at 03:52, Mike Meyer wrote:
Anyone got some hints on how I ought to set this up? Maybe there's a
writeup somewhere I
On Thu, Nov 11, 2010 at 08:11, Edgar Frank ef-li...@email.de wrote:
Hi modules-dev-folks,
I've written a handful of modules for httpd. I'm now looking for a way to
setup some unit tests. We have continuous integration running, so I want to
supply some tests, starting from compiling against
On Mon, Nov 29, 2010 at 00:56, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi Sorin,
Thanks for your reply.
request_rec-connection-id is a long int that is unique. It is built
from the process_id and thread_id of the apache thread that serves the
request.
Will this be unique for
2011/1/19 Whut Jia whut_...@163.com:
Hi Sorin Manolache,
According your ways(ap_send_fd()),it is work.The picture is returned to
client.But myself-set cookie content are not returned , why??
Begin sending jpg-file,I set a cookie in headers_out :
r-content_type=image/jpeg;
apr_table_setn(r
In my opinion the problem is here:
alias = (alias_t *)reqc-aliases-elts[k];
Try
alias = ((alias_t *)reqc-aliases-elts)[k];
S
On Wed, Jan 26, 2011 at 16:28, Simone Caruso i...@simonecaruso.com wrote:
Hi list,
i can't understand the reason i can't read from an apr array, my code is
like
On Mon, Jun 6, 2011 at 14:15, Maurizio Totti maurizio.to...@gmail.com wrote:
Hi,
I would try to set an http header variable on the fly but without success
:-(
I write this simple module to test the functionality
http://pastebin.com/b8hcZTtb
When running your code, I see USER_VAR2: mytest
have lost :-(
@Sorin Manolache @Simone Caruso: Ops... :-(
It's correct now, but no change in my http response.
I think that an AP_FTYPE_RESOURCE filter is invoked _after_ the HTTP
response headers have been sent to the client.
Try
AP_FTYPE_PROTOCOL - 1
instead of AP_FTYPE_RESOURCE.
S
My
On Thu, Jun 16, 2011 at 18:41, Joe Lewis jle...@silverhawk.net wrote:
On Thu, 2011-06-16 at 12:32 -0400, Shawn Ligocki wrote:
On Thu, Jun 16, 2011 at 11:57 AM, Joe Lewis jle...@silverhawk.net wrote:
On Thu, 2011-06-16 at 17:46 +0200, Sorin Manolache wrote:
Can I get this response
On Tue, Jun 21, 2011 at 23:26, Jason Funk jasonlf...@gmail.com wrote:
One last question about shared memory...
I have my configuration now being loaded successfully into a shared memory
segment.. now my problem is that someone could change the config so that the
resulting structure wouldn't
On Thu, Jun 30, 2011 at 02:56, Jodi Bosa jodib...@gmail.com wrote:
I'm encountering a strange interaction between modules (including my own).
When I track it down, it appears that input filters are called after the
handler is finished which results in 2 bodies in the response.
In other words,
Hello,
Some while ago I've posted a messages in which I enquired if there is
a module that copies a slightly modified output header to a response.
In particular, I wanted to set the same cookie on two domains in the
same request. The content generator sets the cookie on one domain and
I wanted
On Thu, Jul 21, 2011 at 11:02, Ignaz Birnstingl ign...@gmail.com wrote:
Hello,
is there an easy way to find out a request's scheme part (i.e. http or
https)? r-parsed_uri.scheme seems to be a null pointer. I currently
iterate r-input_filters and check if filter-frec-name is ssl/tls
filter
On Thu, Jul 21, 2011 at 13:25, Zaid Amireh tum...@gmail.com wrote:
On Jul 21, 2011, at 1:53 PM, Nick Kew wrote:
Indirection in shared memory is inherently complex!
How near do the socache modules come to meeting your needs?
mod_disk_cache would unfortunately make my code pretty complex
On Fri, Jul 29, 2011 at 02:35, Tony Abo t...@hitech.com wrote:
I need to cut the processing short if the user decides to press the
stop button on the browser. I cant seem to figure out how to test for
that condition from inside the handler. Can anyone help me?
Thanks in advance,
Tony
On Sat, Jul 30, 2011 at 01:02, Tony Abo t...@hitech.com wrote:
On Fri, Jul 29, 2011 at 02:35, Tony Abo t...@hitech.com wrote:
I need to cut the processing short if the user decides to press
the
stop button on the browser. I cant seem to figure out how to test
for
that condition from
On Fri, Aug 19, 2011 at 15:29, Denys dhryvas...@serena.com wrote:
Hello -
I am trying to use Apache Server as a proxy server for my applications.
I try to make the following mappings:
ProxyPass /test/pass1/ http://localhost:80/denys/denys.dll?
ProxyPass /test/pass2/
On Wed, Aug 24, 2011 at 23:59, Chris London ch...@kwista.com wrote:
Hey everyone,
I don't like to bother mailing lists with beginner questions so I spent
a few hours on Google looking for info and tutorials. I'm sure at least one
of you has had that experience :) Anyway, I have finished my
On Thu, Sep 15, 2011 at 12:52, Martin Townsend
martin.towns...@power-oasis.com wrote:
Hi,
I have an output filter that parses custom tags to retrieve data from an
application running on the same device.
Everything was working well until I tried to move some HTML into Server Side
Include
On Sat, Oct 1, 2011 at 23:05, Suneet Shah suneetshah2...@gmail.com wrote:
Hello,
I am trying to build my apache module which needs to carry out
authentication and authorization functions based on the value of a cookie.
To start with, I have just created a shell with the intent that I wanted
On Fri, Nov 4, 2011 at 01:18, Jodi Bosa jodib...@gmail.com wrote:
thanks but unfortunately it seems mod_include #include virtual does not
appear to support requests to external servers (must not contain a scheme
or hostname - only path and query string).
Regardless, I also tried
On 02/29/12 07:52, Rui Hu wrote:
hi,
I want to set Content-Type and Cache-Control fields in my private
module. So I hooked fixups and used apr_table_setn to set
r-headers_out but nothing happened. Was it thought through?
Thanks for you help!
Try to set r-err_headers_out.
For content-type
1 - 100 of 161 matches
Mail list logo