Litmus:mod perl: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 7: Line 7:


See also the [http://perl.apache.org/docs/1.0/guide/porting.html mod_perl porting guidelines] for further details.  
See also the [http://perl.apache.org/docs/1.0/guide/porting.html mod_perl porting guidelines] for further details.  
== Apache Configuration on Rodan ==
Use this configuration as a model for your own server config
<pre>
<VirtualHost *:80>
  ServerName litmus.mozilla.org
  DocumentRoot /opt/webtools/testrunner/litmus
  <Directory /opt/webtools/testrunner/litmus>
    PerlModule Apache::DBI
        <Perl>
          use CGI;
          CGI->compile(qw(header param cookie));
          use DBI;
          DBI->install_driver("mysql");
          use Template;
          use HTML::StripScripts;
          use Text::Markdown;
        </Perl>
        AddHandler perl-script .cgi .pl
        PerlHandler Apache::Registry
    Options Indexes FollowSymLinks ExecCGI
    DirectoryIndex index.html index.cgi
    AllowOverride All
  </Directory>
</VirtualHost>
</pre>


== Web Server Restarting / Module Persistence ==
== Web Server Restarting / Module Persistence ==
314

edits

Navigation menu