[Catalyst] Catalyst application and cgi esnenario inside the same apache configuration

Albert Vila avp at imente.com
Wed Mar 8 18:21:27 CET 2006


I have the following mod_perl configuration (with 1.3.33 apache  
version and 1.29 mod_perl version):

<VirtualHost xx.xx.xx.xx>
   ServerName xx.xx.com
   ServerAdmin admin at xx.com
   DocumentRoot /net/catalyst/X/root
   ErrorLog /var/log/apache/error-X.log
   TransferLog /var/log/apache/access-X.log

   PerlRequire /net/catalyst/X/conf/apache-require.pl
   PerlModule X

   <Location />
     SetHandler perl-script
     PerlHandler X
   </Location>

   <LocationMatch "/(static|favicon.ico)">
     SetHandler default-handler
   </LocationMatch>

</VirtualHost>

And the apache-require.pl looks like:

use strict;
use lib ( "/net/catalyst/X/lib" );

# Fi
1;

I want my application to serve .cgi scripts as well, I placed them  
in /X/web folder. Is there an easy way to modify the apache  
configuration in order to serve this files? or I have to move them to  
the root folder?


Thanks.

Albert



More information about the Catalyst mailing list