On Sun, Oct 14, 2012 at 1:12 AM, Abdel kad...@yahoo.com wrote:
I have back end website running on Tomcat with the following url
http://local.domain.com/app. External user access the website through apache
proxy with the following url http://www.domain.com/user1 (user1, user2,
etc... It’s uri
On Wed, Oct 3, 2012 at 11:57 AM, Evgeny Shvidky evg...@skyfence.com wrote:
Hi,
I am developing a new module on C.
One of the requirements of my module is to receive and handle RPC over HTTP
protocol.
RPC over HTTP opens two HTTP/1.1 requests:
One with request method RPC_IN_DATA to send
On Wed, Oct 3, 2012 at 2:06 PM, Evgeny Shvidky evg...@skyfence.com wrote:
Hi,
ap_setup_client_block() returns OK.
I think the problem is that Content-Length header value is 1073741824 (1
GB) and probably apache tries to receive the whole content before it passed
to my module.
Am I right?
On Thu, Sep 27, 2012 at 4:05 AM, Joshua Marantz jmara...@google.com wrote:
RE failing the build of my module -- the dominant usage is via
precompiled binaries we supply. Is there an apr query for determining
whether apr was compiled with threads I could do on startup?
I don't think there's an
On Thu, Sep 27, 2012 at 4:29 PM, Joshua Marantz jmara...@google.com wrote:
Thanks Ben,
That might be an interesting hack to try, although I wonder whether some of
our friends running mod_pagespeed on FreeBSD might run into trouble with
it. I did confirm that my prefork build has APR built
On Tue, Sep 25, 2012 at 1:15 PM, Ivan Prostran ivan.prost...@bulb.hr wrote:
Hi,
I have the following scenario :
- Apache/2.2.19 (Solaris 10 SPARC)
SetInputFilter alterxmlbody (AP_FTYPE_RESOURCE)
SetHandler weblogic-handler
The handler forwards requests to multiple weblogic
On Mon, Sep 10, 2012 at 3:53 PM, Alex Bligh a...@alex.org.uk wrote:
Ben,
No, but the documentation omits some crucial details.
apr_pool_create() is thread-safe only if:
1. libapr is compiled with APR_HAS_THREADS
2. APR_POOL_DEBUG is turned off
3. the parent pool has a thread-safe
On Sun, Sep 9, 2012 at 2:31 PM, Alex Bligh a...@alex.org.uk wrote:
I am trying to work out how to develop a thread-safe module with two
threads, one thread reading and one thread writing. I'm using mpm-prefork
on apache 2.2.14-5ubuntu8.9 in case that matters. The module is a websocket
proxy.
On Wed, Aug 15, 2012 at 5:13 PM, nik600 nik...@gmail.com wrote:
Dear all
i'm having a problem with ap_md5, i just want to write a custom module
that compute che md5 checksum of the requested url and give it back to
the user.
This is my code:
On Sat, Jun 23, 2012 at 4:47 AM, oh...@cox.net wrote:
Per earlier threads on this list, I've been working on an Apache module. For
the time being, I'm kind of stuck because of the problems that I've run into
with trying to integrate my module with a 3rd party library, so just for my
On Thu, Jun 21, 2012 at 8:43 PM, oh...@cox.net wrote:
I tried that, which allowed me to start Apache, but am getting a segfault.
Run it through gdb and inspect the backtrace. Compiling with debug
symbols and optimizations disabled (-g -O0) will help.
On Fri, Jun 22, 2012 at 3:32 AM, oh...@cox.net wrote:
Program received signal SIGSEGV, Segmentation fault.
0x003518d6c1e1 in BN_num_bits () from /lib64/libcrypto.so.4
So, it's actually blowing up in BN_num_bits() in /lib64/libcrypto.so.4?
Type `bt full` and you'll get a backtrace +
On Wed, Jun 20, 2012 at 4:35 PM, oh...@cox.net wrote:
Hi,
I am working on a module, and I get one of the SSL envvars, SSL_CLIENT_CERT,
using apr_table_get() into a const char *.
The client cert char string returned has the extra beginning line (-BEGIN
CERTIFICATE-) and ending
On Mon, Jun 18, 2012 at 8:53 AM, oh...@cox.net wrote:
I added a call to header_request_env_var(r, REMOTE_URI), just to see what
it got (running Apache in single-process mode):
printf(REMOTE_URI=[%s]\n, header_request_env_var(r, REMOTE_URI) );
Then I pointed a browser to http://myhost/test,
On Sun, Jun 17, 2012 at 9:46 PM, oh...@cox.net wrote:
Hi,
I am starting to look into implementing an Apache module that can use
information from an incoming request, including several headers and the
subject string from a client certificate to do authentication.
I've been looking at the
On Mon, Jun 18, 2012 at 5:45 AM, oh...@cox.net wrote:
I haven't actually tried your suggestion yet, but, re. the SSL variables, I
was looking at mod_headers.c, and in there, there are two separate functions:
static const char *header_request_env_var(request_rec *r, char *a)
{
const char
On Mon, Jun 11, 2012 at 10:10 PM, Bart Wiegmans bartwiegm...@gmail.com wrote:
Hello everybody,
For a project I'm doing, I need to install a few bytecode files
alongside my module. I was planning on placing them in the modules
directory but I realised that at runtime I do not know where that
On Mon, Jun 4, 2012 at 10:53 PM, Marc apocalypse17 apocalyps...@gmx.de wrote:
Hi all,
I just developed my first apache module following the tutorial on the apache
website. The module is responsible for adding one header value to the active
request which must be checked in a mod_rewrite
On Tue, Mar 6, 2012 at 13:27, Daniil A Megrabjan
danil.megrab...@gmail.com wrote:
Anyway, as far as I understood I'm not allowed to change the default
behavior of mod_ssl. In this case there is the other question - how to
register my hook to be really before mod_ssl? and even if request has
On Mon, Mar 5, 2012 at 22:34, Daniil A Megrabjan
danil.megrab...@gmail.com wrote:
Hello,
I'm writing a module which serves a special URL.
In cases when URL-string matches the special pattern my module sends the
connection(SCM_RIGHTS) between HTTP client and Apache to another process.
On Thu, Mar 1, 2012 at 17:29, sorin.manola...@orange.com wrote:
Hello,
I would need a memory buffer associated per worker thread (in the worker
MPM) or to each process (in the prefork MPM).
In order to do that, I would need a map thread-buffer. So, I would
need a sort of thread
On Wed, Feb 8, 2012 at 14:01, Oğuzhan TOPGÜL oguzhantop...@gmail.com wrote:
Hi all,
I have developed an apache module and i want to evaluate the performance of
my module.
I want to see how my module increases the load. I want to measure the
effect of my module on processor and memory.
I
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 Thu, Sep 29, 2011 at 16:54, thomas bonfort thomas.bonf...@gmail.com wrote:
Hi all, sorry in advance if this is a dumb question.
The apr documentation for apr_file_lock states Locks are established
on a per-thread/process basis; a second lock by the same thread will
not block. but this is
On Tue, Sep 20, 2011 at 11:13, Henrik Strand henrik.str...@axis.com wrote:
I would like to send an infinite data stream from a non-HTTPD external
process via HTTPD to the client connection. Both HTTP and HTTPS must be
supported.
What kind of external process are we talking here? Something that
On Thu, Sep 1, 2011 at 13:52, Joshua Marantz jmara...@google.com wrote:
Hi,
I've been load-testing our module
(mod_pagespeedhttp://code.google.com/speed/page-speed/docs/module.html)
with httpd 2.2.16 built with these options:
--enable-pool-debug --with-mpm=worker
I've been getting
On Wed, Aug 17, 2011 at 15:20, Jason Funk jasonlf...@gmail.com wrote:
I am trying to implement an apr proc mutex in my module. When I created the
mutex with APR_LOCK_DEFAULT the mutex is successfully created but I am
getting Permission Denied when I try to acquire the lock. I ran
On Tue, Aug 9, 2011 at 15:20, Zaid Amireh tum...@gmail.com wrote:
On Aug 8, 2011, at 3:56 PM, Ben Noordhuis wrote:
On Mon, Aug 8, 2011 at 10:29, Zaid Amireh tum...@gmail.com wrote:
I'm writing a module for Apache 2.2 that changes the content and thus needs
to set a new C-L header, all
On Mon, Aug 8, 2011 at 10:29, Zaid Amireh tum...@gmail.com wrote:
I'm writing a module for Apache 2.2 that changes the content and thus needs
to set a new C-L header, all is working perfectly for static files and
content generated from content handlers (PHP Ruby Passenger Phusion), an
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:
How near do the socache modules come to meeting your needs?
mod_disk_cache would unfortunately make my code pretty complex and maybe slow
as I'm not caching documents but rather
On Thu, Jul 7, 2011 at 02:56, Jodi Bosa jodib...@gmail.com wrote:
I would like to leverage mod_proxy and mod_proxy_http to proxy client
requests (from another protocol).
Assuming I have input output filters that handle the other protocol with
the client, shouldn't I simply be able to:
On Thu, Jul 7, 2011 at 16:33, MK m...@cognitivedissonance.ca wrote:
I have a mod_perl based module running a service on an openVZ slice.
It was working fine for a few weeks, but when I went to use it today I
get delivered an empty page and in the apache error.log:
child exit signal Illegal
On Thu, Jul 7, 2011 at 07:19, Jodi Bosa jodib...@gmail.com wrote:
It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what
is best way to do this?
In other words, from manual I see config directive:
ProxyPass /example http://backend.example.com connectiontimeout=5
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 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 Thu, Jun 16, 2011 at 10:32, Henrik Strand henrik.str...@axis.com wrote:
I've tried writing data to the socket directly after my non-httpd daemon
process receives the socket descriptor and this results in that the
client receives this data. However, very shortly afterwards the
connections is
On Sun, Jun 5, 2011 at 21:37, Joshua Marantz jmara...@google.com wrote:
Does Magento actually vary the content of CSS JS based on user-agent? Or
does it only vary the content of HTML?
I don't know. I'm by no means a Magento expert, I only run into it
from time to time. That site I broke? That
On Sun, Jun 5, 2011 at 13:42, Joshua Marantz jmara...@google.com wrote:
This is a case where the content varies based on user-agent. The
recommendation on the mod_deflate doc page is add vary:user-agent for any
non-image. Can you think of a case where the absence of a vary:user-agent
header
On Sat, Jun 4, 2011 at 21:26, Joshua Marantz jmara...@google.com wrote:
I think what we'd do is basically let mod_pagespeed ignore Vary:User-Agent
if we saw that it was inserted per this exact pattern. This would, to be
This seems like a stupendously bad idea. Warn about it in your docs,
On Sun, Jun 5, 2011 at 00:34, Joshua Marantz jmara...@google.com wrote:
It was with some reluctance that I brought this up. It occurs to me that
this idea propagates the sort of spec violations that led to this issue
(inappropriate user of Vary:User-Agent) in the first place. However, I'm
On Wed, May 4, 2011 at 17:50, Hardy Griech nt...@mardys.de wrote:
Sorry, my fault. I focused on ssl_proxy_enable() which is not called in my
case. ssl_engine_disable() does the job.
So my problem is hopefully solved.
Disadvantage of this solution is, that mod_ssl and mod_gnutls cannot be
On Tue, May 3, 2011 at 21:10, Hardy Griech nt...@mardys.de wrote:
On 03.05.2011 00:13, Ben Noordhuis wrote:
On Mon, May 2, 2011 at 20:51, Hardy Griechnt...@mardys.de wrote:
Now my concern is, how can I reliably catch the condition that the
connection has been initiated by mod_proxy. Any
On Fri, Apr 29, 2011 at 10:27, Hardy Griech nt...@mardys.de wrote:
I'm trying to use mod_gnutls for TLS termination without success.
My first suggestion would be to use mod_ssl.
Alternatively, compile Apache and mod_gnutls with -g -O0 and run it
with `gdb --args httpd -X -e debug`. Put a
- mod_ssl (openssl?) does not obey the maximum fragmentation
length requested by the clients
I think that this has been fixed in openssl 1.0.0.a.
Monkey curiosity: why do you need it?
- install 'apache2-dbg'
- enter gdb with the above command line
- run (in gdb)
- break gdb when the
On Tue, Apr 12, 2011 at 02:18, Joshua Marantz jmara...@google.com wrote:
What are the reasons someone might wish to turn KeepAlive off? The only one
I can think of is in single-process mode (httpd -X) it can be a drag to
refresh a page with lots of resources; but this seems like a secondary
On Tue, Apr 5, 2011 at 05:55, Jason Cwik ja...@connecticinc.com wrote:
The problem is that wherever I try to insert my filter, I don't ever seem to
see the request, I only get one bucket that contains the body. Should I be
using something other than the register input filter hook? (and then
On Wed, Mar 30, 2011 at 16:25, Ignaz Birnstingl ign...@gmail.com wrote:
we are trying to develop a proprietary (i.e. closed-source, binary-shipped)
Apache module and have run into troubles with binary incompatibilities
because of APR_HAS_LARGE_FILES being either 0 or 1. I have only found
On Sat, Mar 26, 2011 at 16:09, Brian McQueen mcqueenor...@gmail.com wrote:
If you want to share functions then put them into a library and they
will be shared in the usual way like normal c functions. If you want
to pass data between modules there are are notes and environment.
This. And there
On Thu, Mar 24, 2011 at 13:10, Whut Jia whut_...@163.com wrote:
Hi,all
I want to parse a html content and withdraw some element in myself apache
handler.Please ask how to do it.
Thanks,
Jia
Hey, have a look at how mod_proxy_html[1] does it.
[1] http://apache.webthing.com/mod_proxy_html/
On Mon, Mar 14, 2011 at 18:54, Joshua Marantz jmara...@google.com wrote:
And in particular, adding an insert_filter hook sounds a little more complex
than the AP_FTYPE_RESOURCE+1 idea. Is there some advantage to using
insert_filter hook?
(fashionably late to the party)
insert_filter lets you
On Mon, Mar 14, 2011 at 16:54, Joshua Marantz jmara...@google.com wrote:
Even in the absence of 'remove_comments', it would be preferable to have
mod_pagespeed run after mod_includes so that it has an opportunity to
optimize the included text. The user can achieve this by putting this line
On Sun, Mar 13, 2011 at 13:15, Eric Covener cove...@gmail.com wrote:
r-main doesn't change on an internal redirect AFAICT.
You're right. And there is ap_internal_fast_redirect() that works
different still. The only thing I can think of that should work for
all three is to follow r-main until
On Sun, Mar 13, 2011 at 04:02, Eric Covener cove...@gmail.com wrote:
OP specifically mentions internal redirect and rewrite-in-htaccess.
Hah, the moment I fired off that email I thought oh wait, mod_rewrite
*does* do an internal redirect somewhere.
Internal redirects share a pool so your
2011/3/9 Massimo Manghi massimo.man...@unipr.it:
the subject might suggest the message is an off-topic
for the list.
Technically it is, d...@apr.apache.org would have been a better place for it.
To put it simple my question is: can every module in APR be used
also to build standalone
On Sat, Mar 5, 2011 at 02:11, Adelle Hartley ade...@akemi.com.au wrote:
Thanks for the feedback. Is there any documentation for the apr_xlate
functions?
My pleasure, Adelle. Documentation: I don't think so save for the
source itself[1].
[1]
On Fri, Mar 4, 2011 at 02:24, Adelle Hartley ade...@akemi.com.au wrote:
This is a helper class I wrote for the module I'm working on. It assumes
the native wide encoding is UTF-32. To make it cross platform, you'd have
to check what the correct wide encoding is.
This is my first apache
On Mon, Feb 28, 2011 at 18:26, Simone Caruso i...@simonecaruso.com wrote:
I wrote a simple cache inside my module with apr_shm and apr_rmm
Simone, have a look at ap_socache.h and ap_slotmem.h, they're two
simple cache facilities that were added in 2.3.0. Might save you some
work. :)
On Fri, Feb 11, 2011 at 08:25, Zeno Davatz zdav...@gmail.com wrote:
I am trying to debug mod_ruby to load in Apache for Windows. So far
Apache for Windows does start with mod_ruby.so but it seems that httpd
does not start correctly with mod_ruby enabled in Apache for Windows.
I don't have a
On Fri, Feb 11, 2011 at 14:11, Zeno Davatz zdav...@gmail.com wrote:
Apache on Windows serves all requests from a single process.
Apache on Linux does not do that?
Nope. The worker and event MPMs are hybrids: serving requests from
many processes, where each process has many threads. And if all
On Tue, Jan 25, 2011 at 23:22, Jodi Bosa jodib...@gmail.com wrote:
What would be a good early hook to modify request headers that is _AFTER_
mod_ssl is finished decrypting request?
When I do a ap_add_input_filter() from a ap_hook_insert_filter() seems to
trigger really late (e.g. after
2011/1/19 Whut Jia whut_...@163.com:
I want to return a local jpeg-file to client when client request url is
/image/metto .In handler module ,I should how to write??
ap_sub_req_lookup_uri() or ap_sub_req_lookup_file()?
On Mon, Jan 10, 2011 at 22:22, Neil McKee neil.mc...@inmon.com wrote:
I pushed changes to:
1. use PIPE_BUF from limits.h (if available).
2. use apr_file_pipe_timeout_set(pipe, 0) on both ends -- just to make
absolutely certain that the writes from the critical section are always
On Wed, Jan 5, 2011 at 20:40, Joshua Marantz jmara...@google.com wrote:
So if I try to remove the 'expires' filter from my handler (which runs
early) then mod_expires will have a handler that runs later that inserts it
after my module has completed.
No, it's the other way around. mod_expires
On Mon, Jan 3, 2011 at 23:19, Joshua Marantz jmara...@google.com wrote:
My goal is not to remove authentication from the server; only from messing
with my module's rewritten resource. The above statement is just observing
that, while it's possible to shunt off mod_rewrite by returning OK from
On Mon, Jan 3, 2011 at 22:07, Joshua Marantz jmara...@google.com wrote:
I answered my own question by implementing it and failing. You can't bypass
mod_authz_host because it gets invoked via the magic macro:
AP_IMPLEMENT_HOOK_RUN_ALL(int,access_checker,
(request_rec
On Fri, Dec 31, 2010 at 18:17, Joshua Marantz jmara...@google.com wrote:
Is there a better way to solve the original problem: preventing mod_rewrite
from corrupting mod_pagespeed's resources?
From memory and from a quick peek at mod_rewrite.c: in your
translate_name hook, set a
2010/11/30 whut_jia whut_...@163.com:
In Apache2.2, I compile a c++ source file with g++ as below:
g++ -fPIC -shared -o mod_validate.so mod_validate.cpp -I/usr/include/httpd
-I/usr/include/apr-1 -I/opt/opensaml/include
After it , I copy mod_calidate.so into apache module location ,and this
2010/11/24 zhoubug chinasi...@gmail.com:
Can i send multi-request(with Range:bytes=start-lenth) on a single
connection?
i want to reuse a connection with keep-alive,and send second request
after receive
the first response,but the apache response with 501 error?
what should i do if i want
On Thu, Nov 11, 2010 at 08:28, Mike Meyer
mwm-keyword-apache.b9a...@mired.org wrote:
Is there a hook that runs after config in the parent, but as the
unprivileged id that I should be using? I couldn't find one (either in
There isn't one, setuid() is called right before the child_init hook.
On Sat, Oct 30, 2010 at 00:24, Travis Bassetti
drchong2000-apa...@yahoo.com wrote:
#include directive via mod_include. Is there a way to tell when a bucket is
created via #include? I want to exclude processing the bucket if it was
created by the #echo directive. I can't tell if there is
On Sun, Oct 24, 2010 at 11:09, Alexander Farber
alexander.far...@gmail.com wrote:
So for content handlers the convention is
to use SetHandler XXX in httpd.conf and
then at the runtime they check for that string with
if (!r-handler || (strcmp(r-handler, XXX) != 0)) {
return DECLINED;
}
On Sat, Oct 23, 2010 at 10:13, Alexander Farber
alexander.far...@gmail.com wrote:
I wonder why my mod_perl module works and the C one not.
Your connection handler should return DECLINED for vhosts it doesn't
handle (I wager mod_perl did this for you).
You can get the vhost with conn-base_server
Alexander, take a look at mod_echo.c (included in the source tarball).
It's a great example of how a protocol handler should work and it just
might convince you to use bucket brigades after all. :)
You need to check if your handler is enabled for the current vhost. If
it's not, return DECLINED.
On Sun, Oct 24, 2010 at 00:00, Alexander Farber
alexander.far...@gmail.com wrote:
I've created a module using bb (the source code at the bottom)
and it suffers from the same problem (hijacks the port 80 too).
Could it be that SetHandler is a wrong directive for protocol handler?
The wrong
On Sat, Oct 23, 2010 at 00:01, Mike Meyer
mwm-keyword-apache.b9a...@mired.org wrote:
I use that to get the socket so I can poll for it to have data in it,
and do other things while I'm waiting. Is there a better alternative
for that, or is this an exception?
You could do it through
On Sat, Oct 23, 2010 at 00:15, Alexander Farber
alexander.far...@gmail.com wrote:
Should I maybe try
apr_socket_t *socket = conn-cs-desc-s
or something similar instead?
Probably not, the conn_config solution is most portable across Apache versions.
And what do you mean by core_module
in my
On Tue, Oct 19, 2010 at 17:05, Paul Donaldson
pdonaldson_h...@yahoo.co.uk wrote:
I assume that if I were to make a request to a web site hosted on Apache then
the capability exists for one of the server side web pages to create a session
and store some piece of data in it. What I want to do in
On Tue, Oct 19, 2010 at 17:30, Paul Donaldson
pdonaldson_h...@yahoo.co.uk wrote:
Thank you. I will take a look at mod_session. Will my module be able to check
if
mod_session is enabled (sorry, I don't know the Apache terminology) and, if
it
is, talk to it and ask it for what it has stored
Martin, if you are working in a constrained environment, then you are
probably better off using something like libmicrohttpd[1] or
libevent's evhttp interface[2]. Apache has a rather heavy resource
footprint.
[1] http://www.gnu.org/software/libmicrohttpd/
[2]
On Mon, Oct 11, 2010 at 16:14, Martin Townsend
martin.towns...@power-oasis.com wrote:
I have created a pool from the child pool for storing warning messages that
can live across requests, the final request will insert the warnings into
the response. How do I ensure that this pool is cleared at
On Mon, Oct 11, 2010 at 16:40, Martin Townsend
martin.towns...@power-oasis.com wrote:
use, or should I set a flag and then use a hook like fix-ups that will check
this flag and then call apr_pool_clear()?
This. You can use a request note for a flag.
Hi Franz, welcome. Replies inline:
On Wed, Oct 6, 2010 at 00:49, Franz Schwartau fr...@electromail.org wrote:
How should the module react to a failed initialization of seed_rand() in
iphash_create_server_config() (line 90)? Returning NULL in
iphash_create_server_config() doesn't seem to help.
On Tue, Sep 21, 2010 at 17:24, J.D. Mullin jeremym1...@cableone.net wrote:
It seems like I am missing some very simple way to tell if the request was
made via https, but I have scanned all of the structures available from the
request_rec and I don't see anything obvious.
const char *flag =
2010/9/19 whut_jia whut_...@163.com:
The question is that I just get Location header but get Cookie header when I
access to apache server.why??
Not sure what the question is. Do you mean that the response contains
a Location header but no Set-Cookie header? If so, you probably need
to use
Fabio, do you need a module for this? It sounds like it better belongs
in an application server like Tomcat.
Peter, what version of Apache are you testing this with?
ap_sub_req_lookup_file() should work, it's what mod_include uses when
you have !--#include file=/foo/bar-- on your page. You might want
to take a look at its source.
You call it with next_filter=NULL instead of f-next? That'll skip the
regular filter chain, probably not what you want.
On Tue, Aug 24, 2010 at 11:11, Martin Townsend
martin.towns...@power-oasis.com wrote:
I'm trying to add a captcha feature to our custom module. How should I
handle the returned captcha code in the POST data. I currently have an
input filter for processing other POST data but if I use this how
On Tue, Aug 24, 2010 at 11:50, Martin Townsend
martin.towns...@power-oasis.com wrote:
Do you mean setting a request note from the input filter that an output
filter picks up which can then output the captcha.shtml?
Yes, if your module consists of filters only. If it also includes a
content
On Tue, Aug 24, 2010 at 14:56, Ray Morris supp...@bettercgi.com wrote:
This sounds to me like an access_checker, which should be
called from the access_checker hook. Filters, as I understand
it, are for transforming the content - compressing it, for example.
Entirely replacing the content
You should post your question to the OpenSAML mailing list, this isn't
the place for it.
You didn't mention what MPM you are using but I assume it's the
prefork one. You need to register a hook with ap_hook_child_init() and
call SAMLConfig::getConfig().init() from there.
Is this with the prefork or threaded MPM? And what is the SAML library
are you using? Shibboleth's?
On Tue, Jun 1, 2010 at 11:39, Andrew Godziuk and...@cloudaccess.net wrote:
What I want to achieve is injecting new vhosts without Apache restart.
Of course I'm aware that the changes would fully take effect after all
workers have recycled, but for me - it's still better than a restart.
Andrew,
Jaysingh, could you provide more details about the errors (error
messages?) you get?
What I need is to tell to APR, hey APR please find the function f10 in all
loaded libraries, then execute the function and give me back the result.
That is not how it works in C. Function names only exist in source
code, at run-time it is nothing but an address in memory. Google
'function
I wonder if it's possible with Apache 2?
To get hold of the client socket, so that I can poll()
or select() it and implement server push aka Comet
r-connection-cs-pfd.desc.s-socketdes if I'm not mistaken. Check
out apr_pollset_create() if you are going to do polling inside Apache
or sendmsg(2)
On Mon, Sep 21, 2009 at 23:14, Joe Nardone jnard...@gmail.com wrote:
Under 2.2, it appears that no matter what I do, the headers and data
are being sent in two separate SSL records in the response. This is
true at least for POST requests.
How large are these POST requests, Joe? I ask because
On Mon, Sep 14, 2009 at 21:39, Ivan Ristic ivan.ris...@gmail.com wrote:
There's an incompatibility between ModSecurity and mod_deflate, which
I would like to fix it. (It is triggered when AddOutputFilterByType is
used.) I basically need to ensure that ModSecurity's output filter
runs before
1 - 100 of 102 matches
Mail list logo