On Wed, Nov 18, 2009 at 3:18 PM, Richard Jones <[email protected]> wrote:
> [email protected] wrote:
>> Hi Richard
>>
>>
>> Quoting "Richard Jones" <[email protected]>:
>>
>>> App working fine with default CGI, but decided to see if it works with
>>> CGI::Simple using the cgiapp_get_query() override. But instead of
>>> rendering the page I get a popup: 'you have chosen to open
>>> myapp_server.pl which is a Perl script ... what should Firefox do with
>>> this file'. I can't fathom where the problem lies. Anyone been there before?
>>
>> My guess is that when you saved your edits, the execute bit on the
>> file was turned off.
>
> Hi Ron,
>
> Good idea but it can't be that as it's an actively developed app which
> has edits saved many times per day. And in fact I'm using
> CGI::App:Dispatch and CGI::App::Server so the MyApp.pm part (where the
> cgiapp_get_query method sits) isn't executable anyway. Maybe something
> to do with CAD?


I work everyday with C::A, C::A::D, CGI::Simple. No problem at all.
You will have to give a lot more information to help others debug your
problem, but it does smell of wrong headers/mime type, etc.

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to