Spidy has asked for the wisdom of the Perl Monks concerning the following question:
I've recently been doing some work writing web systems that use Perl, CGI, and MySQL to get stuff done. Now, in order to make things easy to install on various sytems, I've included a file(install.cgi), in which users fill out their MySQL database information, for the system to use. This information is then written, in hash form, to a file that's located at
Which is then retrieved by my configuration script."$ENV{DOCUMENT_ROOT}/../systemname.cfv"
Now, in practice and testing situations, this has worked perfectly fine. However, I've been having some nagging doubts recently: what happens when this system is installed on two subdomains of the same main domain? Will the second installations config file clobber the first installation's, or is this okay?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: $ENV{DOCUMENT_ROOT}, for web config files
by jdtoronto (Prior) on Aug 03, 2006 at 02:07 UTC | |
by Spidy (Chaplain) on Aug 03, 2006 at 02:39 UTC | |
|
Re: $ENV{DOCUMENT_ROOT}, for web config files
by Anonymous Monk on Aug 03, 2006 at 04:09 UTC |