[Catalyst] httpd.conf.

Michael Reece mreece at vinq.com
Fri Jun 15 16:52:14 GMT 2007


On Jun 15, 2007, at 8:11 AM, Kyoko,Shikamata wrote:

> Hi,
> I'd like to execute other cgi program at /cgi-bin/.
> I set the following to httpd.conf. But, I cannot execute cgi.  
> Please let me know my mistake .
> -----
> <Perl>
>        use lib qw( /var/www/MyApp/lib );
> </Perl>
>
> PerlModule MyApp
>
> <Location />
>    SetHandler       perl-script
>    PerlHandler      MyApp
> </Location>
>
> ScriptAlias /cgi-bin/ "/var/www/other"
> <Location /cgi-bin/>.....</Location>

what's inside the ..... there?  "SetHandler cgi-script" should do the  
trick.




More information about the Catalyst mailing list