RE: Mod_perl returning perl scripts

2003-10-27 Thread Randy Kobes
On Sun, 26 Oct 2003, Angela wrote: [ ... ] > I think(?) the issue is that the browser doesn’t know the > contents because the header returned is a wap header i.e. > 'Content-Type: text/vnd.wap.wml'. The browser then assumes > it's a file download and promptly does just that! Although > having said

Re mod_perl returning perl scripts

2003-10-26 Thread Angela
Aaah! I feel incredibly foolish! And I apologize for wasting the time of you good people here. I watched Internet explorer download the file and saw that the filename corresponded with my script name. When I tried to open it from the download option, it opened a command window that promptly closed

RE: Mod_perl returning perl scripts

2003-10-26 Thread Angela
Babs wrote:- >I got a similar problem sometime ago; for some unknown reason, it worked >alright after I restarted Apache afresh. Perhaps it may help you too. Let >me know how you finally solve the problem. >Besides that, you need to explicitly tell mod_perl to always send a header >to the browser

Re: Mod_perl returning perl scripts

2003-10-26 Thread Randy Kobes
On Sun, 26 Oct 2003, B. Fongo wrote: > Besides that, you need to explicitly tell mod_perl to always send a > header to the browser, by adding: "PerlSendHeader on" to the http.conf > as follows: > > Alias /perl/ "C:/Apache2/perl/ > > SetHandler perl-script > PerlHandler Apache::Reg

Mod_perl returning perl scripts

2003-10-26 Thread B. Fongo
Options ExecCGI This should help Babs -Ursprüngliche Nachricht- Von: B. Fongo [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 26. Oktober 2003 16:12 An: 'Randy Kobes' Betreff: AW: Mod_perl returning perl scripts Besides that, you need to explicitly tell mod_perl to al

RE: Mod_perl returning perl scripts

2003-10-26 Thread Randy Kobes
On Sun, 26 Oct 2003, Angela wrote: > Stas & Randy, > > Thanks for the help. I removed file associations and renamed a test file to > have no extension. > > There are no references to perl in http.conf apart from the very end where I > have now copied from perl.conf. > > And I corrected the typo ;(

AW: Mod_perl returning perl scripts

2003-10-26 Thread B. Fongo
Gesendet: Sonntag, 26. Oktober 2003 00:01 > An: [EMAIL PROTECTED] > Betreff: Mod_perl returning perl scripts > > > Hi, > > I'm using Apache with Mod_Perl configured on a win XP box. > Perl scripts prepare WML cards to return to a CGI request. > This works fine &

RE: Mod_perl returning perl scripts

2003-10-26 Thread Angela
Stas & Randy, Thanks for the help. I removed file associations and renamed a test file to have no extension. There are no references to perl in http.conf apart from the very end where I have now copied from perl.conf. And I corrected the typo ;( The test file without an extension, along with t

Re: Mod_perl returning perl scripts

2003-10-25 Thread Randy Kobes
On Sat, 25 Oct 2003, Stas Bekman wrote: > Angela wrote: > > Hi, > > > > I'm using Apache with Mod_Perl configured on a win XP box. > > Perl scripts prepare WML cards to return to a CGI request. This works fine > > if requests come from mobile phones. > > However, if I type the url into my HTML web

Re: Mod_perl returning perl scripts

2003-10-25 Thread Stas Bekman
Angela wrote: Hi, I'm using Apache with Mod_Perl configured on a win XP box. Perl scripts prepare WML cards to return to a CGI request. This works fine if requests come from mobile phones. However, if I type the url into my HTML web browser pointing to a perl script that expects WML to call it, th

Mod_perl returning perl scripts

2003-10-25 Thread Angela
Hi, I'm using Apache with Mod_Perl configured on a win XP box. Perl scripts prepare WML cards to return to a CGI request. This works fine if requests come from mobile phones. However, if I type the url into my HTML web browser pointing to a perl script that expects WML to call it, the script, (tha