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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.