Thanks David for the prompt response and useful resources you have provided.
Now onwards shall mention all environemnt dependent things.
Currently I am using Apache.2.2.0 in Linux. First I need to download rpm for
apxs as it is not installed.
Regards,
Souramita.
-Original Message-
Hello Souramita and welcome to the group.
You very likely want to use APXS if you are writing a module in C.
Start here (the Apache 2.2 APXS manual page):
http://httpd.apache.org/docs/2.2/programs/apxs.html
I believe this command:
apxs -g -n foo
(where 'foo' is the name of the module) will
On Mon, Mar 12, 2007 at 09:38:34PM +0100, Ruediger Pluem wrote:
On 03/12/2007 04:05 PM, [EMAIL PROTECTED] wrote:
...
+ * (basically a faster version of 'sprintf(%llx)')
*/
#define HEX_DIGITS 0123456789abcdef
-static char *etag_ulong_to_hex(char *next, unsigned long u)
+static char
There have been times when having a simple sed filter in Apache
would be useful... I used to use just ext_filter to do this,
but this got more and more painful the more I used it. So awhile
ago I made mod_sed_filter which I find pretty useful. I've just
built and tested in with 2.2 and trunk...
On Tue, 13 Mar 2007 09:24:25 -0400
Jim Jagielski [EMAIL PROTECTED] wrote:
http://people.apache.org/~jim/code/mod_sed_filter.c
At a glance, it looks like mod_line_edit.
Are you doing anything different?
--
Nick Kew
Application Development with Apache - the Apache Modules Book
Souramita Sen wrote:
Thanks David for the prompt response and useful resources you have provided.
Now onwards shall mention all environemnt dependent things.
Currently I am using Apache.2.2.0 in Linux. First I need to download rpm for
apxs as it is not installed.
It should be provided with
I'm using flood to test a REST-style interface. The server uses the
Accept header to tell which kind of return value should be used -
e.g. text/html will return an interactive web interface, and text/xml
will return XML. In order to test the xml interface I need to be able
to set the
On 3/13/07, Marcus Bointon [EMAIL PROTECTED] wrote:
I'm using flood to test a REST-style interface. The server uses the
Accept header to tell which kind of return value should be used -
e.g. text/html will return an interactive web interface, and text/xml
will return XML. In order to test the
On 13 Mar 2007, at 15:39, Justin Erenkrantz wrote:
It's already there - set the 'extraheader' attribute in the URL.
Like so:
--
url extraheader=Accept=text/xmlhttp://www.example.com//url
Excellent, thanks.
Marcus
--
Marcus Bointon
Synchromedia Limited: Creators of
On 3/13/07, Marcus Bointon [EMAIL PROTECTED] wrote:
On 13 Mar 2007, at 15:39, Justin Erenkrantz wrote:
It's already there - set the 'extraheader' attribute in the URL.
Like so:
--
url extraheader=Accept=text/xmlhttp://www.example.com//url
Excellent, thanks.
Ergh, note that you might
Jim Jagielski wrote:
Anyone mind if I fold it into trunk and maybe have us
consider making it part of 2.2 (even under experimental)?
+1 to trunk! No opinion yet on 2.2 (I'm not a big fan of growing
the stable branch since it entirely defeats the drive to release
2.next, ever.)
No docs yet
On Mar 13, 2007, at 1:10 PM, William A. Rowe, Jr. wrote:
Is this sed or pcre syntax? I'm a bit confused :)
It's a mutant ;) But, of course, we maintain
that confusion internally with regex's being pcre...
Although it's sed-ish, is it misleading to confuse the user with the
phrase sed
On Tue, 13 Mar 2007 13:34:07 -0400
Jim Jagielski [EMAIL PROTECTED] wrote:
On Mar 13, 2007, at 1:10 PM, William A. Rowe, Jr. wrote:
Is this sed or pcre syntax? I'm a bit confused :)
It's a mutant ;) But, of course, we maintain
that confusion internally with regex's being pcre...
Nick Kew wrote:
I'm even more confused now, because I thought you were with Covalent,
and I understood from Will that mod_line_edit was widely used by
clients of Covalent. Please tell me what I'm missing?
Just to ensure I'm not misquoted, I know I've suggested mod_line_edit
to a few
On Mar 13, 2007, at 2:08 PM, Nick Kew wrote:
AFAICS, this not merely looks like mod_line_edit: the filter *is*
mod_line_edit, right down to the bucket manipulation logic used as
an example in The Book! It's just missing a couple of minor features,
and has a slightly different configuration
Jim Jagielski wrote:
Bill told me about mod_line_edit maybe 3-4 days ago.
I had known about mod_proxy_html, which is also something
we've pointed clients to, so maybe that's where
the confusion comes from.
Good point - in my experience mod_proxy_html is much more broadly
adopted both by our
Jim Jagielski wrote:
On Mar 13, 2007, at 1:10 PM, William A. Rowe, Jr. wrote:
Is this sed or pcre syntax? I'm a bit confused :)
It's a mutant ;) But, of course, we maintain
that confusion internally with regex's being pcre...
Of course :) But it appears to be a tiny fraction of the
On Mar 13, 2007, at 3:34 PM, William A. Rowe, Jr. wrote:
Jim Jagielski wrote:
On Mar 13, 2007, at 1:10 PM, William A. Rowe, Jr. wrote:
Is this sed or pcre syntax? I'm a bit confused :)
It's a mutant ;) But, of course, we maintain
that confusion internally with regex's being pcre...
Hello,
I am trying to compile a module against the Apache 2.2.4 codebase using
Visual C++ .NET. The compile stops with an error fatal error RC1107:
invalid usage. From what I can tell, I am having trouble with the
resource compiler not liking some extra quotes. Is there a way to fix
this
Chris,
I am working on a *NIX environment and not using the newest version of
Apache, but a quick search on Google revealed some issues many people are
having compiling Apache 2.2.2 + on Visual C++ IDEs. Look into this forum
thread:
Chris Kukuchka wrote:
Hello,
I am trying to compile a module against the Apache 2.2.4 codebase using
Visual C++ .NET. The compile stops with an error fatal error RC1107:
invalid usage. From what I can tell, I am having trouble with the
resource compiler not liking some extra quotes. Is
21 matches
Mail list logo