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" <[EMAIL PROTECTED]>
To: "The elegant MVC web framework" <[email protected]>
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: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to