in reply to Running perl script outside cgi-bin
This is all a webserver configuration issue. Nothing except the webserver configuration dictates that the file events.pl must reside in your document root, or that a file events.pl must exist at all for an URL /events.pl to be served. Talk to your webserver administrator about what possibilities you have to set up a "ScriptAlias" or some "alias".
Without looking at what your script does, it's hard to say whether it is safer or less safe to move it out of cgi-bin/. Most likely, it won't make much difference, security-wise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running perl script outside cgi-bin
by tangent (Parson) on Feb 07, 2012 at 23:14 UTC | |
by Anonymous Monk on Feb 08, 2012 at 09:18 UTC | |
by tangent (Parson) on Feb 08, 2012 at 13:44 UTC |