I'm attempting to run a php script (phpSecurePages) designed to keep non-members out of a certain area on my site. The files I want protected have the code
include("phpSecurePages/secure.php");
at the top of the page to call the script and verify if the user is logged in. It works great for php files, but does anyone know how I might go about protecting .pl files in my cgi-bin?
Hopefully this isn't too off-topic. I apologize if it is. Any help is very much appreciated though. Thanks.