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/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader on
Options ExecCGI
</Location>
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 always send a
header to the browser, by adding: "PerlSendHeader on" to the http.conf
as follows:
Alias /perl/ "C:/Apache2/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader on
Options ExecCGI
</Location>
This should help
Babs
> -----Urspr�ngliche Nachricht-----
> Von: Randy Kobes [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 26. Oktober 2003 15:45
> An: Angela
> Cc: [EMAIL PROTECTED]
> Betreff: RE: Mod_perl returning perl scripts
>
>
> 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 ;( The test file without an
> extension, along with
> > the others, still gets returned.
> >
> > Any other ideas will be seized upon with alacrity; I'm
> going crazy here!
>
> In your script, are you sending a header such as
> print "Content-type: text/html\n\n";
> or some such, such that the browser knows it should display
> the contents?
>
> --
> best regards,
> randy
>