Hi,

I have been looking at the perl sections part.

But as far as I can tell it's just a replacement for http.conf. I think
it still means I need top restart/reload the httpd.conf

The whole reason I want to do it on the fly is to prevent this. But
please tell me I am wrong in this ?

I tried to play with Apache2::Directive::conftree();

I manged to get a hash with data about thge virtual host I like to
change but altering this does not have any effect.

I have been tring to change many things but so far the only thing I can
give a new value is $r->document_root()

The rest seems only read only values. (like options etc).

I have a virtual host entry that us really empty:

<VirtualHost 81.24.48.204:80>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /online/default/www/default/html
    ServerName www.default.nl
</VirtualHost>

I can now change the documentRoot on the fly, and I would like to be
able to change other things to like:

AddType application/x-httpd-php .php

To enable php for this site if this site needs it.

And also 

<Directory "/online/default/www/default/html2/">
            Options Indexes FollowSymLinks
            AllowOverride AuthConfig
                Order allow,deny
        Allow from all
 </Directory>


But I am really stuck here. I am at the point of giving up and combining
the Documentroot part with a generated .htaccess file placed in the
documentroot. 

The thing here is that I do not like my customers to be able to upload
their own .htaccess file. And so far I did not find away around this. 

So if anyone can give any example how to change more than just the
document root , I would be gratefull.

Maybe an offtopic question, 

But would a reload of the httpd.conf kill the open sessions of visitors
of the website? I always asumed it would but maybe I am wrong here. 

Regards

Hans de Groot




--- 
Hans de Groot 
Email: [EMAIL PROTECTED]   www: http://www.dandy.nl

Reply via email to