# #AllowOverride FileInfo AuthConfig Limit # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec #Options MultiViews Indexes SymLinksIfOwnerMatch #SetHandler perl-script #PerlHandler Apache::Registry #PerlSendHeader On #Options +ExecCGI # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # Provide two aliases to the same cgi-bin directory, # to see the effects of the 2 different mod_perl modes. # for Apache::Registry Mode ScriptAlias /perl/ "/srv/www/cgi-bin/" # for Apache::Perlrun Mode ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" # # If mod_perl is activated, load configuration information # Perlrequire /usr/include/apache/modules/perl/startup.perl PerlModule Apache::Registry # # set Apache::Registry Mode for /perl Alias # # #SetHandler perl-script #PerlHandler Apache::Registry #Options ExecCGI FollowSymLinks #PerlSendHeader On # # # set Apache::PerlRun Mode for /cgi-perl Alias # SetHandler perl-script PerlHandler Apache::PerlRun Options ExecCGI PerlSendHeader On