On Aug 1, 2007, at 1:48 PM, Farokh Irani wrote:
I must just be dense, but I've spent a whole bunch of time trying
to figure exactly how I can put initialization code into my module.
It's code that needs to run only once when apache (2.2.x) is
starting up, so any pointers would be appreciated
Does apache support calling modules at idle time, ie after a time
interval when there's nothing going on, calling the modules so they
can get some processing time?
Thanks!
--
Farokh
MCF Software...simply dependably
- Forwarded message from Eric Covener [EMAIL PROTECTED] -
On 7/22/07, Mike [EMAIL PROTECTED] wrote:
Greetings.
apxs accepts only *.c files as its input. For other extensions it
doesn't invoke libtool in compile mode and several different issues
leading to empty Apache module
I'm trying to set up a makefile using apxs to compile and link a
module and I'm running into a couple of problems.
If I use the following command line:
apxs -ic -S CC=g++ -n mod_fancy mod_fancy.cpp config.cpp
everything works fine.
In my makefile, I have the following (this is a partial):
On 7/22/07, Farokh Irani [EMAIL PROTECTED] wrote:
/usr/local/apache2/bin/apxs -i -n mod_fancy .libs/mod_fancy.so
.libs/config.so
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' .libs/mod_fancy.so
/usr/local/apache2/modules
/usr/local/apache2/build/libtool
On Fri, Jul 20, 2007 at 11:39:35PM -0400, Farokh Irani wrote:
I took a further look at apxs, and it appears that the bad coding for the
source files continues. In my apxs around line 406, you'll find the
following:
foreach $s (@srcs) {
my $slo = $s;
$slo =~ s|\.c
On Wed, 2007-07-18 at 07:23 -0400, Farokh Irani wrote:
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
chmod 755 /usr/local/libexec
On Fri, 2007-07-20 at 08:36 +0200, Mike wrote:
if ($f =~ m|\.c$|) { Here, bad coder! BAD!
I don't know perl at all, so those were
stabs in the dark. Any pointers on that would be appreciated.
Try:
if( $f =~ m/\.c$|\.cpp$|\.cc$/ )
OK, I tried this and while
On Fri, 2007-07-20 at 14:39 +0200, Mike wrote:
On 7/20/07, Farokh Irani [EMAIL PROTECTED] wrote:
So, somewhere there is still something going on with .c vs .cpp. I'll
poke at apxs a bit and see if I can figure out why, but a crash
course in perl wasn't what I was looking at doing right
I've set up a Debian 4 machine and I'm trying to compile/install a
small test module. I'm using APXS2 as follows:
apxs2 -ic -S CC=g++ -n mod_fancy mod_fancy.cpp config.cpp
It compiles, and installs the mod_fancy.so file in /usr/lib/apache2/modules.
But, when I try to get apache to load it, I
On 06/07/07, Farokh Irani [EMAIL PROTECTED] wrote:
I'm trying to link together a couple of .o files into a .so file
using g++. The problem is that even though I have a -o specified, no
file is generated and no error comes up. Any pointers on how to
figure out what might be going on, or even
Farokh Irani wrote:
I'm trying to convert a plug-in that ran under WebSTAR as well as
under Microsoft IIS to an Apache 2 module and I was wondering if
anyone had any pointer or sample code that I should look at to make
life easier. The WebSTAR code handles multiple threads (I haven't
looked
I'm trying to convert a plug-in that ran under WebSTAR as well as
under Microsoft IIS to an Apache 2 module and I was wondering if
anyone had any pointer or sample code that I should look at to make
life easier. The WebSTAR code handles multiple threads (I haven't
looked at the IIS code) so I
13 matches
Mail list logo