Re: Running Perl CGI scripts locally in Windows
- --- In firstname.lastname@example.org, "Gordon Stone" <gordon@s...> wrote:
> Apologies if the question is answered somewhere in the archive.perl but I
> I'm trying to run some simple scripts on my pc using activestate
> only get the script displayed rather than executed. What am Imissing to run
> the scripts? Do I need to install a web server such as Apache?convert some
> Activestate runs fine on scripts - I'm now trying to move on to
> of my Unix Server CGI scripts (+ new ones).Have you set up ScriptAlias and its directory as follows:
> Gordon Stone,
> Horwich UK
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
Allow from all
Obviously "/var/www/cgi-bin/" will be something like "C:/Program
Ensure that the #! path to Perl is correct.
There is a httpd.conf setting for how to locate the executable for the
script i.e. registry or file - ScriptInterpreterSource