[Catalyst] httpd.conf.

Kyoko,Shikamata shikamata at shoeisha.co.jp
Sun Jun 17 09:54:13 GMT 2007


Thank you for your reply.

I set "SetHandler cgi-script" .
The program can execute in other VirtualHost

<Location /cgi-bin/>
  SetHandler cgi-script
  Allow from all
</Location>


----- Original Message ----- 
From: "Michael Reece" <mreece at vinq.com>
To: "The elegant MVC web framework" <catalyst at lists.rawmode.org>
Sent: Saturday, June 16, 2007 12:52 AM
Subject: Re: [Catalyst] httpd.conf.


>
> 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.
>
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/ 




More information about the Catalyst mailing list