perl and apache - marriage counselor needed

NT Box (don't run away...paleeez), Perl 5.6 and Apache 2.048. Can these guys be married WITHOUT mod_perl?


I have a ton of Perl scripts I wrote over a 5 year period and ran them on my host's NT box but now that I am building my own I need to figure out how to get the application thingy to see .pl and know it is supposed to connect that to perl. Is that the basic idea?


Thank you.


Ok, I added the following to the httpd.conf file:


AddType application/perl .pl

AddHandler cgi-script cgi pl

<Directory "c:/hosting/bigdrivehosting.com/web/userscripts">
Options +ExecCGI
</Directory>


Does this look right?


When I execute the script the url shows as

http://craigsworld.org/userscripts/mymail.pl

(correct)

and comes back as a page not found message...


So I loaded up the perl script mymail.pl at the top with prints to see if she ever did anything and got the same message.


so I created a page in the userscripts directory called test.html and tried to access that and it doesn't find it either...?


so I changed the block above to:

<Directory "c:/hosting/bigdrivehosting.com/web/userscripts">
<Limit GET POST OPTIONS ExecCgi>
Order allow,deny
Allow from all
</Limit>
</Directory>

and it doesn't recognize either the script or the test.html...


any ideas?

 

 

 

 

Top