All pastes #385927 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-08 05:34 UTC
rendered paste body
in httpd.conf:

<IfModule mod_perl.c>
  <IfModule mod_alias.c>
   Alias /perl/ /var/www/perl/
  </IfModule>
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>

directory structure:

/var/www/perl$ ls -l
-rwxr-xr-x  1 root root     34 2007-03-07 23:22 test.pl