I have a rather lengthy script (wwregistry.pl) that resides in the cgi-bin. It points to flat files in relative terms. (ie require "folder/file.cfg"
I am going to use the same script but outside the cgi-bin. I've already made all the arrangements with .htaccess to execute outside the cgi-bin.
Is there a way to write a simple script that calls wwregistry.pl, executes it as if I were executing it from the cgi-bin?
I am going to use the same script but outside the cgi-bin. I've already made all the arrangements with .htaccess to execute outside the cgi-bin.
Is there a way to write a simple script that calls wwregistry.pl, executes it as if I were executing it from the cgi-bin?