httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kibble" <kib...@aproxity.com>
Subject RE: Module help...
Date Tue, 24 Jun 2003 11:37:07 GMT
Hey again !!

 Thanks for getting back in touch. I read through the code you have and
I'm not sure it does exactly what I'm aiming for, although it is a great
start. The caching section I have seen examples for and I'am sure it
wouldn't be too much to get it going. I know it is a lot of extra code
how ever to catch certain system events but it is possible.

I'm still not sure how I can take a varible lets say [char *vconf] and
then vconf will contain a httpd.conf styl variable like:
<VirtualHost *>
        ServerAdmin kibble@aproxity.com
        DocumentRoot /var/www/htdocs
        ServerName www.aproxity.com
        ServerAlias *
        CustomLog logs/www-access.log combined
        ErrorLog logs/www-error.log

        ScriptAlias /cgi-bin/ "/var/www/htdocs/cgi-bin/"
        <Directory "/var/www/htdocs/cgi-bin">
                AllowOverride None
                Options None
                Order allow,deny
                Allow from all
        </Directory>

        php_admin_value open_basedir /var/www/htdocs

</VirtualHost>

And then just merge that variable into the conf as it stands ... Not
sure how I can go about getting stuff like back into the server current
conf and settings ? I mean also stuff like ServerAlias wouldn't be
required as the module I have uses the client host request for the
lookup anyways...?

But there would be other flags to take in account which are handled by
other modules, like rewrite or in the example above the php admin values
??

How can I go about merging these returned results into apache2 ? Perhaps
if I knew the answer I can convert it over to 1.3 as well ? Anyone on
the mailing list knows anything about this ?

Anyways, something to think about ...

-----Original Message-----
From: Sebastian Abt [mailto:sabt@sabt.net] 
Sent: 24 June 2003 11:16
To: kibble@aproxity.com
Subject: Re: Module help...


Hi,

* "kibble" <kibble@aproxity.com> wrote:

> That would be great if you could send me or if I can see some of the
> code...

sorry, I was quit busy last time..

> Let's put our heads together and make a really good module!! :D

You can find my module attached.

As I saw later, you're writing your module for Apache2. Mine is for
Apache 1.x, but maybe we can put code together and can build up a module
for Apache 1 and Apache 2 with the same or similar "core"?

My module works quite well at this moment. Now I'm trying to implement
some kind of caching, but that seems not to be that easy as I thought
before ;-)

regards,
sebastian


Mime
View raw message