Dear Ian,

I think we may looking for the problem in the wrong place.

The fact that the browser offers to save something means that it is 
receiving a response from the server, and that it is not interpreting said 
response as HTML text.

You are not actually outputting any '<HTML>', '<HEAD>', or '<BODY>' tags. 
If you add them, your browser is more likely to recognise the response as HTML.

Joe Yates


> > -----Original Message-----
> > From: Ian D. Stewart [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, May 26, 2002 10:44 AM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: Configuring mod_perl on Debian
> >
> >
> > Dear List,
> >
> > I have been trying for the better part of the day to get Apache
> > w/mod_perl working on a Debian Woody system.  With the help of the
> > Configuration section of the mod_perl Guide, I have set up httpd.conf
> > w/ mod_perl support, I have setup a /perl location with
> > Apache::Registry as the PerlHandler, and I have copied a test script
> > from /usr/share/doc/libapache-mod-perl/examples into /perl.  However,
> > whenever I try to display http://localhost/perl/test.pl, the browser
> > (Galeon-1.2.1) displays a dialog asking if I want to save the file to
> > disk or open it with an external application.
> >
> > here is the pertinant section of httpd.conf:
> >
> > Alias /perl /var/www/perl
> >
> > PerlModule Apache::Registry
> > <Location /perl>
> >      SetHandler perl-script
> >      PerlHandler Apache::Registry
> >      Options ExecCGI
> >      allow from all
> >      PerlSendHeader on
> > </Location>
> >
> >
> > Any clues as to what I may be doing wrong, or where to look for more
> > info, would be greatly appreciated.
> >
> >
> > Regards,
> > Ian
> >

Reply via email to