View Single Post
  #4   (View Single Post)  
Old 22nd June 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

Have you been able to run a simple perl script (blah.pl) from /var/www/cgi-bin ? I realize you say you have using mod_cgi, but I got this following script running with just the vanilla install of mod_perl... am I missing something from your description?

I did the following-

Code:
# pkg_add mod_perl-1.30p1
# apachectl stop
# /usr/local/sbin/mod_perl-enable
# apachectl start
# cd /var/www/cgi-bin/
# nano mp-rules.pl
Then... here's the contents of mp-rules.pl
Code:
#!/usr/bin/perl
print "Content-type: text/plain\r\n\r\n";
print "mod_perl rules!\n";
Then... back at the command prompt...

Code:
# chmod 777 mp-rules.pl
... And finally loaded http://myserverip.domain/cgi-bin/mp-rules.pl in my browser and it worked.

Are you not getting the same love?
__________________
Network Firefighter

Last edited by ai-danno; 22nd June 2008 at 06:45 PM.
Reply With Quote