Bluehost.com Web Hosting $6.95

create document root automatically

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2006
Piotr Wadas :: DT
 
Posts: n/a
Default create document root automatically

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

  #2 (permalink)  
Old 07-11-2006
Piotr Wadas :: DT
 
Posts: n/a
Default Re: create document root automatically


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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0