# Apache configuration Notes # #In order to use NaWT you need to rename this file to A.nawt.conf and restart #apache server. # # The example httpd-nawt.conf needs to be adapted to your directory structure. # # If mod_perl is not supported, please comment the next lines using #: # # SetHandler perl-script # PerlResponseHandler ModPerl::Registry # PerlOptions +ParseHeaders # <IfModule mod_alias.c> <IfModule mod_dir.c> <IfModule mod_cgi.c> Alias /nawt/ "@APACHE2@/www/" #PerlModule ModPerl::Registry #PerlRequire @APACHE2@/sbin/preload.perl <Directory "@APACHE2@/www/"> # If the perl module is installed, this will allow execution of mod_perl # to compile your scripts to subroutines which it will execute directly, # avoiding the costly compile process for most requests. # # mod_perl for apache 2.0 # <IfModule mod_perl.c> # <Files ~ "\.pl"> # SetHandler perl-script # PerlHandler ModPerl::Registry # PerlResponseHandler ModPerl::Registry # PerlOptions +ParseHeaders # </Files> # </IfModule> # mod_perl for apache 1.3 # # SetHandler perl-script # PerlHandler Apache::Registry # PerlRequire @APACHE2@/sbin/preload.perl # # End mod_perl # For normal CGI next lines are needed: Options -Indexes FollowSymLinks ExecCGI # Options FollowSymLinks ExecCGI -Indexes MultiViews AllowOverride Limit Order Allow,Deny Allow from localhost AddHandler server-parsed .html DirectoryIndex index.cgi usertool.pl AddHandler cgi-script .cgi AddHandler cgi-script .pl </Directory> </IfModule> </IfModule> </IfModule>