ASP4::ModPerl - mod_perl2 PerlResponseHandler for ASP4


ASP4 documentation  | view source Contained in the ASP4 distribution.

Index


NAME

Top

ASP4::ModPerl - mod_perl2 PerlResponseHandler for ASP4

SYNOPSIS

Top

In your httpd.conf

  # Load up some important modules:
  PerlModule DBI
  PerlModule DBD::mysql
  PerlModule ASP4::ModPerl

  <VirtualHost *:80>

    ServerName    mysite.com
    ServerAlias   www.mysite.com
    DocumentRoot  /usr/local/projects/mysite.com/htdocs

    # Set the directory index:
    DirectoryIndex index.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>

DESCRIPTION

Top

ASP4::ModPerl provides a mod_perl2 PerlResponseHandler interface to ASP4::HTTPContext.

Under normal circumstances, all you have to do is configure it and forget about it.

BUGS

Top

It's possible that some bugs have found their way into this release.

Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=ASP4 to submit bug reports.

HOMEPAGE

Top

Please visit the ASP4 homepage at http://0x31337.org/code/ to see examples of ASP4 in action.

AUTHOR

Top

John Drago mailto:jdrago_999@yahoo.com

COPYRIGHT AND LICENSE

Top


ASP4 documentation  | view source Contained in the ASP4 distribution.