Changeset 17962

Show
Ignore:
Timestamp:
09/20/07 00:25:39 (14 months ago)
Author:
azawawi
Message:

[runpugs] added mod_perl/apache -> mod_perl2/apache2 migration instructions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • misc/runpugs/TODO

    r17915 r17962  
    66* Add Web-based REPL to run kp6 using 'kp6-perl5.pl --secure  | perl -Ilib-kp6-mp6-p5' 
    77* Fix excess html display escaping problems on the server side (my @a = <&nbsp; &gt; &lt;>); 
    8 * Port mod_perl -> mod_perl2 for apache2/mod_deflate efficiency 
    98* Put more functionality in JS (clear, timeout)  
    109* Cleanup history code in server-side 
     
    1817    - The Perl 6 equivalents of POSIX, Errno, IO::Select, Carp 
    1918   Of course we can use the Perl 5 implementations for the time being. 
     19 
     20 
     21 
     22* Port mod_perl -> mod_perl2 for apache2/mod_deflate efficiency 
     23 
     24So far we need to do the following: 
     25 
     26in lib/startup.pl => use Apache::Registry => use ModPerl::Registry 
     27in httpd.conf => every Apache:: => ModPerl:: 
     28in perl/runpugs.pl => Make file reference absolute in open HTML 
     29in data/runpugs.html => make sure we reference /perl/runpugs.pl 
     30 
     31------------------ http.conf config for mod_perl2 
     32<IfModule mod_perl.c> 
     33    PerlRequire  /home/runpugs/apache/lib/startup.pl 
     34        PerlTaintCheck On 
     35  <IfModule mod_alias.c> 
     36   Alias /perl/ /home/runpugs/apache/perl/ 
     37    Alias /cgi-perl/ /home/runpugs/apache/cgi-perl/ 
     38  </IfModule> 
     39  <Location /perl> 
     40    SetHandler perl-script 
     41      PerlResponseHandler ModPerl::Registry 
     42      PerlOptions +ParseHeaders 
     43    Options +ExecCGI 
     44  </Location> 
     45    <Location /cgi-perl> 
     46        SetHandler perl-script 
     47        PerlHandler ModPerl::PerlRun 
     48        Options +ExecCGI 
     49        PerlSendHeader On 
     50    </Location> 
     51</IfModule>