in reply to cgi apps, is it bad juju to pile program and conf file, template, etc under one directory in cgi-bin?
One way around that would be to install everything in one directory outside the Web server's area, then use symlinks to link in the parts that should be available on the Web.
Another way is to put all support files in a subdirectory, and put a .htaccess file that will block access (though that will only work under Apache).
Yet another way is to have a smart installer run one time via the Web, which will figure out where things should go and put them there, then disable itself. I've seen that approach used before, most often in PHP scripts, and it makes it very easy to get things installed quickly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cgi apps, is it bad juju to pile program and conf file, template, etc under one directory in cgi-bin?
by friedo (Prior) on Oct 06, 2006 at 19:07 UTC | |
|
Re^2: cgi apps, is it bad juju to pile program and conf file, template, etc under one directory in cgi-bin?
by bibliophile (Prior) on Oct 06, 2006 at 17:39 UTC |