Re: Maintaining modules.mk for modules with multiple sources... (solved)

2010-09-24 Thread Mike Meyer
On Wed, 22 Sep 2010 22:08:17 -0400
Mike Meyer m...@mired.org wrote:

 I'm working on a module whose source is spread across multiple
 files. About the time I was adding the seventh file's .lo  .slo, I
 decided The computer should be doing this, and did what I thought
 was a standard make hack:
 
 C_FILES=merchant_mod.c ...
 LO_FILES=${C_FILES:%.c=%.lo}
 SLO_FILES=${C_FILES:%.c=%.slo}
 
 in my Makefile, and
 
 mod_merchant.1a: ${SLO_FILES}
   $(SH_LINK) -rpath $(libexecdir) -modules -avoid-version ${LO_FILES}
 
 in the modules.mk.
 
 Trouble is, it doesn't run the compile step for the files, but goes
 straight to trying to link the .lo's together, which doesn't work all
 that well.
 
 I'm building against apache httpd 2.2 on Freebsd 8.1-RELEASE and
 OpenSolaris snv_134, as I need to run on both.

For the search engines:

The problem was that the variables have to be set when the include
files are processed. So the lines setting all my file names has to
occur before the lines:

builddir=.
top_srcdir=...
top_builddir=...
include .../build/special.mk

Otherwise, they aren't set, so the .la files don't have an
dependencies, so nothing gets compiled, and so on.

 mike
-- 
Mike Meyer m...@mired.org http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org


Re: determine if mod called via ssl request

2010-09-24 Thread J.D. Mullin
I'll give that a try. thanks Ben.

On Tue, Sep 21, 2010 at 9:38 AM, Ben Noordhuis i...@bnoordhuis.nl wrote:

 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 = getenv(HTTPS);
 if (flag  !strcmp(flag, on)) {
// HTTPS-only logic
 }



How can I see HTML response of web server (Apache)?

2010-09-24 Thread Mithilesh Kr. Mishra
Dear all

I am willing to develop some module to look into the content of web server
response against any query (from browser) in order to do some on-the-fly
processing and filtering of some of the HTML tags to specialize that
response of web server.

Any help/guidance is thankfully awaited.


-- 
Mithilesh Kr. Mishra
Sr. Programmer (NetAdmin)
Indian Institute of Information Technology, Allahabad
Deoghat, Jhalwa, Allahabad - 211012, UP, INDIA
Phone: 91-532-2922153 (O), 91-532-2922659 (R)
Mobile: 91-9450952584


-
This email has been sent using ArithMail at 
Indian Institute of Information Technology, Allahabad, U.P, INDIA
Web: http://www.iiita.ac.in, Email: cont...@iiita.ac.in