You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mathieu CARBONNEAUX <in...@ch2o.info> on 2006/11/27 00:52:07 UTC

Re: [info@ch2o.info] Re: how to modify Document Root from module...

the idea is to fake document root after they are setted when apache configuration are readed...
the idea is to correct the document root in chroot jail maked in child init...

Best Regards,
Mathieu
  _____  

From: Nick Kew [mailto:nick@webthing.com]
To: dev@httpd.apache.org
Sent: Mon, 27 Nov 2006 00:14:15 +0100
Subject: [info@ch2o.info] Re: how to modify Document Root from module...

On Sun, 26 Nov 2006 23:55:39 +0100
Mathieu CARBONNEAUX <in...@ch2o.info> wrote:

> hi,
> 
> i'm developping a module and i need to modify ap_document_root
> dynamicaly in my module

No you don't!  Define another variable you can manipulate.
Don't mess with apache's standard vars!


-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/