PerlRequire "/etc/apache2/startup.pl" # PerlSwitches -T # PerlWarn On PerlModule Apache2::Reload PerlInitHandler Apache2::Reload PerlSetVar ReloadAll Off PerlSetVar ReloadDebug On #PerlSetVar ReloadModules "CGI::Application::Demo CGI::Application::Demo::*" #PerlSetVar ReloadModules "My::CGIApp" PerlSetVar ReloadModules "LIMS::*" PerlSetEnv ROSEDB_DEVINIT /home/raj/www/apps/HMDS/trunk/config/rosedb_devinit_prod.pl # for perl-status: #PerlModule B::TerseSize # apache can't start & works anyway # http://perl.apache.org/docs/2.0/api/Apache2/Status.html: # SetHandler perl-script # PerlHandler Apache2::Status SetHandler modperl PerlOptions +GlobalRequest PerlResponseHandler Apache2::Status PerlSetVar StatusOptionsAll On PerlSetVar StatusDeparseOptions "-p -sC" PerlSetVar StatusDumper On PerlSetVar StatusPeek On PerlSetVar StatusTerse On PerlSetVar StatusTerseSize On PerlSetVar StatusTerseSizeMainSummary On # order deny,allow # deny from all # allow from localhost PerlModule ModPerl::Registry Alias /perl/ /home/raj/www/perl/ SetHandler perl-script PerlResponseHandler ModPerl::Registry #PerlOptions +ParseHeaders #PerlOptions -GlobalRequest Options +ExecCGI PerlModule LIMS::Dispatch SetHandler perl-script # PerlResponseHandler LIMS::Dispatch PerlResponseHandler "sub { LIMS::Dispatch->dispatch(); return OK; }" #PerlModule Dispatch # /home/raj/www/apps/dispatch_server SetHandler perl-script PerlResponseHandler Dispatch #PerlModule My::CGIApp # /home/raj/www/apps/dispatch_server SetHandler perl-script PerlResponseHandler "sub { My::CGIApp->new()->run(); return OK; }" #PerlModule CMP # DON'T DO THIS - causes all AutoRunmodes to fail SetHandler perl-script PerlResponseHandler CMP # PerlResponseHandler "sub { CMP->new->run(); return OK; }" # needs 'PerlModule CMP' + config.pl #PerlModule Flash SetHandler perl-script PerlResponseHandler "sub { Flash->new()->run(); return OK; }"