Jump to content

[SOLVED] can't get perl scripts to run


bbxrider

Recommended Posts

i'm running apache 2.2.4,  under winxp pro, been trying to get perl running for a few hours now

i installed perl on a g: drive, g:/usr, with the lastest active perl msi, perl -v runs from the command line

eventually i want to run at least one app, uber upload, that is typically configured to run .pl scripts from the std apache cgi-bin directory.

but for now and to test, i created the hello.cgi script, to run out of a virtual host directory

#!/usr/bin/perl

print "Content-type:text/html\n\n";

print "hello world";

 

in my .conf i have the directory directives and no other (like to override other dirs at say at htdocs)

<Directory />

    Options FollowSymLinks +ExecCGI -Indexes

    AllowOverride None

    Order deny,allow

    Deny from all

    Satisfy all

</Directory>

 

until i got to this point, in my virtual host log, i was getting

-Options ExecCGI is off in this directory: C:/apache2/htdocs/myVirtDir/hello.cgi

but now i'm getting

-client denied by server configuration: C:/apache2/htdocs/myVirtDir/hello.cgi

and i get a 403 forbidden in the browser

 

can somebody please try to decipher this to help me get a basic script to run and hopefully suggest what i might need to change beyond that to have scripts run out of the std apache cgi-bin directory

and i promise this is the last thing, is it undesireable to be able to have scripts run from other than the std cgi-bin directory?

bob

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/130828-solved-cant-get-perl-scripts-to-run/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.