mod_perl.conf 776 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # mod_perl - Perl Interpreter for Apache2
  3. #
  4. # Load the Perl module:
  5. LoadModule perl_module @baselibdir@/httpd/modules/mod_perl.so
  6. # Define the files mod-perl's responsible for
  7. AddHandler perl-script pl
  8. # Set this if you want perl-scripts to be
  9. # executed from only one directory
  10. #Alias /perl/ /srv/httpd/htdocs/perl/
  11. #<Location /perl/>
  12. # SetHandler perl-script
  13. # PerlResponseHandler ModPerl::Registry
  14. # PerlOptions +ParseHeaders
  15. # Options +ExecCGI
  16. # Require all granted
  17. #</Location>
  18. # Set this if you want perl-scripts to be
  19. # executed from everywhere in the htdocs directory
  20. # (default)
  21. <Files *.pl>
  22. # mod_perl mode
  23. SetHandler perl-script
  24. PerlResponseHandler ModPerl::Registry
  25. PerlOptions +ParseHeaders
  26. Options +ExecCGI
  27. </Files>