in reply to Re^2: $Bin undef with FindBin in web environment
in thread $Bin undef with FindBin in web environment
The assumption with suggestion 1 is that your cgi-bin directory is outside the document root, as in the typical $somepath/htdocs/ + $somepath/cgi-bin/ scenario. If your cgi-bin is inside the document root as in $somepath/htdocs/cgi-bin/, then you would indeed be at risk of serving modules as plaintext — but you risk the same for your scripts, as well.
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: $Bin undef with FindBin in web environment
by Anonymous Monk on Sep 01, 2004 at 16:20 UTC | |
by Aristotle (Chancellor) on Sep 01, 2004 at 17:52 UTC |