On Tue, Aug 12, 2008 at 3:50 PM, 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 and on
You can set a cookie by setting the Set-Cookie key in the
r-headers_out or r-err_headers_out tables (in case your request_rec
structure is called r).
Something like this
static int some_hook(request_rec *r) {
...
apr_table_set(r-headers_out, Set-Cookie,
Hi all,
I am having some issues when registering cleanups to destroy global
mutexes created in my module's post_config phase. Basically, if I
register a cleanup in the server pool that calls
apr_global_mutex_destroy, the server doesn't survive graceful
restarts. In order to restart Apache, I need
On Mon, May 5, 2008 at 7:11 PM, ed [EMAIL PROTECTED] wrote:
On Mon, 5 May 2008 18:04:15 -0300
César Leonardo Blum Silveira [EMAIL PROTECTED] wrote:
Hello,
What is the correct way to fill the dsize field in apr_datum_t? I am
not sure whether I should do it like
Hello,
What is the correct way to fill the dsize field in apr_datum_t? I am
not sure whether I should do it like this
apr_datum_t d;
d.dptr = hello, world;
d.dsize = strlen(d.dptr);
or like this
apr_datum_t d;
d.dptr = hello, world;
d.dsize = strlen(d.dptr) + 1;
Could anyone tell me whether
Hi all,
Is there any documentation regarding how to build httpd-trunk on Windows?
Thanks,
--
César L. B. Silveira
Hello,
The application we develop at the company where I work is presenting
some problems in Windows Server 2008. Basically, the pplication
consists of a bunch of Apache modules that serves our purposes. For
what we have observed so far, pool cleanups reigstered for the server
pool in the post
On Tue, Apr 29, 2008 at 1:18 PM, William A. Rowe, Jr.
[EMAIL PROTECTED] wrote:
César Leonardo Blum Silveira wrote:
Hello,
The application we develop at the company where I work is presenting
some problems in Windows Server 2008. Basically, the pplication
consists of a bunch of Apache
On Thu, Apr 24, 2008 at 6:16 PM, Joachim Zobel [EMAIL PROTECTED] wrote:
Am Mittwoch, den 09.04.2008, 11:26 -0300 schrieb César Leonardo Blum
Silveira:
Is there any chance the ap_run_sub_req call could be breaking my
original request?
You don't have to actually do the subrequest, a call
Hi all,
I already know that whenever, say, an access checker hook in a module
returns something like HTTP_FORBIDDEN, the other access checkers from
other modules will not be called. However, will the subsequent hooks
be called (like the fixups)?
Thank you in advance,
--
César L. B. Silveira
Hello,
I am writing a module which needs to perform a subrequest. The
subrequest seems to be breaking my original request, making it
return invalid data to the browser (actually it seems to be retuning
nothing).
Let me try to explain my scenario:
My module has an access checker which checks
Hello all,
I would like to know if there is a way to make requests pass more than
one authentication phase. Basically, I need to authenticate users
using mod_spnego for Kerberos SSO but still authenticate these users
using my own module, which determines access levels for them in the
system. What
Hello,
I have written two test modules which only write messages to the
error_log. I have the following fixups on them:
mod_mod1.c:
static int mod1_fixups(request_rec *r) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, mod1_fixups);
return OK;
}
mod_mod2.c:
static int
I figured it out already. A redirect was causing that behaviour.
On Jan 15, 2008 10:43 PM, César Leonardo Blum Silveira
[EMAIL PROTECTED] wrote:
Hello,
I have written two test modules which only write messages to the
error_log. I have the following fixups on them:
mod_mod1.c:
static int
The Apache Modules Book by Nick Kew is a very good source of information.
On 8/16/07, Subhash KK. [EMAIL PROTECTED] wrote:
Hi All,
I am new to apache web server development. I need to develop a C
module and plug into apache. Please help.
Where should I look in ??
Hello all,
I have observed a certain difference between DBM and SDBM, but I would
like to confirm them with someone more experienced and I also would
like to know if I can rely on these observations.
It seems to me that if I open a DBM file and then fork my process, the
parent and the child
Hello,
Can a module be licensed under the MIT license? Can a module be proprietary?
Thanks,
--
César L. B. Silveira
http://cesarbs.wordpress.com/
Hello all,
I want to set the expiration date on a cookie sent by my module. Is
there any APR/Apache API function which returns a date in the format
specified for cookies?
Also, in order to set the expiration date on a cookie, the only thing
that is needed is to add expires=[date] to my cookie,
I know this is kind of a generic question, but what could make my
module fail (segfault or something of the like) on a restart?
Thanks,
--
César L. B. Silveira
http://cesarbs.wordpress.com/
Hello all,
Is there any problem if I try to create a shared memory segment in the
module config creation phase, instead of the post config phase?
Thank you,
--
César L. B. Silveira
http://cesarbs.wordpress.com/
Graham,
Thank you! Now things are a lot more clear to me :-)
--
César L. B. Silveira
http://cesarbs.wordpress.com/
On 5/22/07, Graham Dumpleton [EMAIL PROTECTED] wrote:
On 23/05/07, César Leonardo Blum Silveira [EMAIL PROTECTED] wrote:
Hello all,
I have some questions about handling data
21 matches
Mail list logo