This is a discussion on create document root automatically within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, Had anyone heard about some apache module, which would create missing configured document root directory for a virtualhost on ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
Had anyone heard about some apache module, which would create missing configured document root directory for a virtualhost on starting, or on request for this virtualhost ? Yes, I know, that it'd be quite easy module to write, however I wonder whether anyone already did it? :) Regards, DT |
|
|||
|
Davide Bianchi napisal(a): > On 2006-07-11, Piotr Wadas :: DT <pwadas@jewish.org.pl> wrote: > > Had anyone heard about some apache module, > > which would create missing configured document root directory > > That would mean to give the Apache's process the rights to create files > and directory at will, that is agains every 'safe' practice I've ever > heard. Well, you're probably right, anyway apache could be running on chroot, and, beside all, there are functions in any scripting language, like php, or something, to create directories and manipulate files, with normal engine, not speaking about cgi-scripts, which do this in thousands of ways. One can do this also with any more advanced mod_perl things, and, additionally, apache can suid its vhosts, so security issues are probably not the most important point in this case - anyway it should't be ignored, as usual. However the question persists :) DT |