Hi all,
I've been wondering if there is a recommended way of using autotools
when writing an Apache module? I've seen a tutorial
http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html on
this, but it was last updated in 2005, so I'm not sure if there are any
better ways or things
. Actually I am searching for a module
that write all the vhost configuration to a database and read it from db
also.
thanks.
Eldho
Dave Ingram wrote:
Hi Vaughan,
Thanks for the response. I haven't thought of doing the SQL query the way
you suggested, however I agree
Sorin Manolache wrote:
On Thu, Apr 2, 2009 at 19:45, Dave Ingram d...@dmi.me.uk wrote:
Hi guys,
Is there any way that my module can detect which APR features are
enabled in Apache? It relies on DBD, and if that's not available then my
module just segfaults, which isn't very friendly. I'd
Hi Sorin,
Sorin Manolache wrote:
On Wed, Mar 11, 2009 at 02:08, Andrej van der Zee
andrejvander...@gmail.com wrote:
Hi,
I need to modify Apache and run one custom background thread. In addition,
my custom modules have to be able to share a data structure with this
background thread.
Hi guys,
Is there any way that my module can detect which APR features are
enabled in Apache? It relies on DBD, and if that's not available then my
module just segfaults, which isn't very friendly. I'd prefer to give an
error message to the user, telling them that DBD is required.
Does anyone
/template the
virtual hosts. I myself have written a database-backed templating module
that could be used for virtual hosting
(http://www.dmi.me.uk/code/apache/mod_sqltemplate/) and I'm curious to
see other approaches.
Thanks,
Dave
Thanks,
Vaughan
-Original Message-
From: Dave Ingram
Vaughan,
What I have so far are 2 filters which gather the inbound traffic and
outbound traffic for each transaction. These work ok and when logging
transactions to file all of the in/out byte amounts appear to be correct.
The first problem however, is that each child has its own set of
Hi Jorge,
Something with the same name:
http://code.google.com/p/dbd-modules/wiki/mod_vhost_dbd
self-promotion
I don't know if that's what you're after, but I've written something
vaguely similar but more flexible:
http://www.dmi.me.uk/code/apache/mod_sqltemplate/
/self-promotion
Hope this
Jorge Bastos wrote:
This is possible using mod_sqltemplate. Suppose in your database, you
have a php_register_globals column, which is either On or Off.
Then this will work:
[snip]
So I think my problem is resolved!
Resuming, I can have as many columns I want in the hosts table, correct?
Jorge Bastos wrote:
Dave,
You could have a Install.txt file to explain how to compile.
I'm not very familiar with apxs2 :)
Can you post here?
Erm. I think all you need to use is:
apxs2 -i -c mod_sqltemplate.c
as root, to compile and install in one step. Don't forget to add the
Jorge Bastos wrote:
Sorry about apxs.
That's fine -- everyone has to learn somewhere.
I'm just curious, libmysql shouldn't be linked agains the .so module
Nope - it uses the built-in APR DBD in Apache, which already links
against MySQL.
Dave
The -f and -d flags for RewriteCond are for checking the file system,
not environment variables, although they can use environment variables
if necessary. For example:
RewriteCond %{DOCUMENT_ROOT}/%{ENV:foo} -d
would check that the folder named by the environment variable foo
exists in the
Hi all,
A while ago, I discussed[1] the idea of a flexible SQL-based
configuration templating module for Apache 2.2. I've since written the
code, and (after letting it fall by the wayside for a couple of months),
I'm ready for people to test it, poke it and break it (and then send me
a bug
To clarify:
Is it currently possible to log authentication requests (ideally both
success and failure, individually)? If not, is it possible?
Meant: is it currently possible to do this with Apache 2.2 (perhaps
using an existing module)? If not, is it even theoretically possible?
Dave
Nick Kew wrote:
Dave Ingram wrote:
First off, if this isn't the correct place to ask this then I apologise,
but it seemed the most appropriate list. If there's somewhere more
appropriate, please let me know.
I've had a quick look for some information on accessing a database via
APR
Hi Albert,
Its not a module, but I've been working on a generic configuration
file templating system to be powered by a variety of data sources,
including SQL. You might enjoy checking it out:
http://www.hypermagnet.com/
Thanks for the information and link - I'll definitely have a look
16 matches
Mail list logo