[svn:mod_parrot] r577 - mod_parrot/trunk

[email protected] Sun, 4 Jan 2009 07:13:34 -0800 (PST)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Sun Jan  4 07:13:33 2009
New Revision: 577

Added:
   mod_parrot/trunk/README.modperl6

Log:
add procedures for configuring mod_perl6 registry scripts


Added: mod_parrot/trunk/README.modperl6
==============================================================================
--- (empty file)
+++ mod_parrot/trunk/README.modperl6	Sun Jan  4 07:13:33 2009
@@ -0,0 +1,27 @@
+mod_perl6 will be separated from the mod_parrot source tree following the
+0.5 release.  While it is still bundled here, use the following procedures
+to get registry scripts working (familiarity with Apache concepts assumed):
+
+1) make modperl6
+
+2) In httpd.conf:
+
+   a) add /path/to/mod_parrot/lib to the colon separated ParrotLibPath
+
+   b) add the following configuration:
+
+   ParrotLoadImmediate ModParrot/HLL/perl6.pbc
+   ScriptAlias /path/to/your/cgi/directory
+   <Directory /path/to/your/cgi/directory>
+       Options +ExecCGI
+       SetHandler perl6-script
+       Perl6ResponseHandler ModPerl6::Registry
+   </Directory>
+
+3) In /path/to/apache/bin/envvars:
+
+   PERL6LIB=/path/to/mod_parrot/languages/perl6/lib:/path/to/your/own/perl6/lib
+
+4) Stop and start Apache (don't use restart if you changed envvars)
+
+5) Add scripts to /path/to/your/cgi directory, set the execute bit, and enjoy!