ASP4
view release on metacpan or search on metacpan
t/conf/httpd.conf view on Meta::CPAN
# Load up some important modules:
PerlModule DBI
PerlModule DBD::mysql
PerlModule ASP4::ModPerl
<VirtualHost *:80>
ServerName mysite.com
DocumentRoot /home/john/Projects/ASP4/t/htdocs
# Set the directory index:
DirectoryIndex index.asp
ErrorDocument 404 /404.asp
# All *.asp files are handled by ASP4::ModPerl
<Files ~ (\.asp$)>
SetHandler perl-script
PerlResponseHandler ASP4::ModPerl
</Files>
# !IMPORTANT! Prevent anyone from viewing your GlobalASA.pm
<Files ~ (\.pm$)>
Order allow,deny
Deny from all
</Files>
# All requests to /handlers/* will be handled by their respective handler:
<Location /handlers>
SetHandler perl-script
PerlResponseHandler ASP4::ModPerl
</Location>
</VirtualHost>
( run in 0.584 second using v1.01-cache-2.11-cpan-39bf76dae61 )