List Info

Thread: httpd.conf.




httpd.conf.
country flaguser name
Japan
2007-06-15 10:11:35
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>
-----
regards,
Kyoko 


_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

Re: httpd.conf.
country flaguser name
United States
2007-06-15 10:52:14
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: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

Re: httpd.conf.
country flaguser name
Japan
2007-06-17 03:54:13
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" <mreecevinq.com>
To: "The elegant MVC web framework"
<catalystlists.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: Catalystlists.rawmode.org
> Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-
archive.com/catalystlists.rawmode.org/
> Dev site: http://dev.catalyst.per
l.org/ 


_______________________________________________
List: Catalystlists.rawmode.org
Listinfo: ht
tp://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/catalystlists.rawmode.org/
Dev site: http://dev.catalyst.per
l.org/

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )