R
ralphch
Guest
Hi,
I'm trying to test the performance of the ImageFolio (Perl based) gallery application using mod_perl's PerlRun mode. I have placed the following in the vhost.conf file and updated with websrvmng:
Alias /e-photo/cgi-bin/ /usr/local/psa/home/vhosts/domain.com/httpdocs/e-photo/cgi-bin/
PerlModule Apache:erlRun
<Directory /usr/local/psa/home/vhosts/domain.com/httpdocs/e-photo/cgi-bin>
<Files ~ (\.cgi$)>
SetHandler perl-script
PerlHandler Apache:erlRun
Options +ExecCGI
PerlSendHeader On
allow from all
</Files>
</Directory>
However, after doing this, using the "ab" benchmarking tool there's no difference from before, so I'm guessing that this is not working.
How can I configure a directory to use Apache's PerlRun module for parsing .pl and .cgi scripts? Is there a way to then test that this is actually working?
Any ideas will be appreciated.
Thanks,
Ralph
I'm trying to test the performance of the ImageFolio (Perl based) gallery application using mod_perl's PerlRun mode. I have placed the following in the vhost.conf file and updated with websrvmng:
Alias /e-photo/cgi-bin/ /usr/local/psa/home/vhosts/domain.com/httpdocs/e-photo/cgi-bin/
PerlModule Apache:erlRun
<Directory /usr/local/psa/home/vhosts/domain.com/httpdocs/e-photo/cgi-bin>
<Files ~ (\.cgi$)>
SetHandler perl-script
PerlHandler Apache:erlRun
Options +ExecCGI
PerlSendHeader On
allow from all
</Files>
</Directory>
However, after doing this, using the "ab" benchmarking tool there's no difference from before, so I'm guessing that this is not working.
How can I configure a directory to use Apache's PerlRun module for parsing .pl and .cgi scripts? Is there a way to then test that this is actually working?
Any ideas will be appreciated.
Thanks,
Ralph