Apache modules

Modules

Java Servlet module

In httpd.conf

LoadModule jserv_module modules/mod_jserv.so
AddModule mod_jserv.c

<IfModule mod_jserv.c>
    Include /etc/httpd/conf/jserv/jserv.conf
</IfModule>
The last part points to a Servlet configuration file that also needs modification to say where the servlet files

Servelt config file

This contains lines to be set such as

ApJServProperties /etc/httpd/conf/jserv/jserv.properties
ApJServLogFile /var/log/httpd/mod_jserv.log
ApJServMount /servlets /root
ApJServMount /servlet /root

<Location /jserv/>
  SetHandler jserv-status

  order deny,allow
  deny from all
  allow from localhost
</Location>
     

Perl mod_perl

In httpd.conf

LoadModule perl_module        modules/libperl.so
AddModule mod_perl.c

<IfModule mod_perl.c>
  Alias /perl/ /home/httpd/perl/
  <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    Options +ExecCGI
  </Location>
</IfModule>       

Jan Newmarch (http://pandonia.canberra.edu.au)
jan@ise.canberra.edu.au
Last modified: Tue Aug 15 15:39:06 EST 2000
Copyright ©Jan Newmarch