httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kibble" <>
Subject Module help...
Date Fri, 20 Jun 2003 21:54:36 GMT
Hi there.

I'm creating a module for Apache2 and wanted to know how to take a
variable something like this:

char *new_conf;
new_conf = "<VirtualHost *>
        DocumentRoot /var/www/kibble
        CustomLog logs/a_k.log combined
        ErrorLog logs/e_k.log

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

Parse that variable and then merge it into the configuration?
If anyone wants to see the code as it stands visit...

If I can at least see an example or know if it possible or not possible,
then I would be grateful!

Thank you in advance


View raw message