Hi,
I am trying to find a way of setting DocumentRoot (and possibly Alias)
directly from modperl in order to implement dynamically generated 
virtual hosting.
The thing is that my virtualhost parameters comes from a database and
may change anytime (so I can't restart Apache in general), so it is 
difficult to implement with Apache virtual host rewrite, mod_rewrite 
or even <Perl> directives in httpd.conf.
I tried to use subprocess_env to set this variable, but it is useful
only for cgi-scripts, not perl or C handlers since it sets the Environment
variable only.

Is the only solution to rewrite the URI translation phase so it does not
use DocumentRoot directive??

-- 
Serge Barbosa Da Torre  -  [EMAIL PROTECTED]

"It's not easy, being green."
                -- Kermit the Frog

Reply via email to