Re: Refreshing

2004-06-14 Thread Stas Bekman
William McKee wrote: On Sun, Jun 13, 2004 at 03:44:22PM -0700, David Arnold wrote: When I am working on a cgi-script, sometimes I make a change, then refresh the script in my browser, only to not see the changes I made in the script. Is there some sort of caching going on with Apache? Hi David,

RE: Configuration problems

2004-06-14 Thread Frank Maas
David Arnold wrote: Oooh! that's easy. Just change one line of rocks.pl. That is, change print Content-type: text/plain\n\n; to print Content-type: text/html\n\n; And all is well. Strange. It looks like a problem in your browser then. text/plain is a fine content-type. Yes, but in

Re: Configuration problems

2004-06-14 Thread Stas Bekman
Frank Maas wrote: David Arnold wrote: Oooh! that's easy. Just change one line of rocks.pl. That is, change print Content-type: text/plain\n\n; to print Content-type: text/html\n\n; And all is well. Strange. It looks like a problem in your browser then. text/plain is a fine content-type. Yes, but

Re: Refreshing

2004-06-14 Thread David Arnold
Ah, What is described in the link is exactly what I was doing, working on a module. Thanks. At 11:18 AM 6/14/04 +0300, you wrote: William McKee wrote: On Sun, Jun 13, 2004 at 03:44:22PM -0700, David Arnold wrote: When I am working on a cgi-script, sometimes I make a change, then refresh the

Updating Apache and Mod_Perl

2004-06-14 Thread David Arnold
All, I've been encouraged on this list to update my versions of Apache and mod_perl, which I think a good suggestion. However, I am no operating system guru (just a math teacher), so I get quite fearful with these updates. Still, I do have an office machine that is quite behind the times,

A CGI.pm script

2004-06-14 Thread David Arnold
All, Running: [EMAIL PROTECTED] cgi-perl]# /usr/sbin/apachectl -v Server version: Apache/2.0.40 Server built: Nov 27 2003 11:04:06 MOD_PERL=mod_perl/1.99_07-dev I've added these changes to httpd.conf: ScriptAlias /cgi-bin/ /var/www/cgi-bin/ Directory /var/www/cgi-bin AllowOverride None

Re: [mp2] Authen handler with htgroup authorization

2004-06-14 Thread Geoffrey Young
John D Groenveld wrote: Is using a Perl Authen Handler with Apache AuthGroupFile supported? If not, I'll write an Authz handler, but I didn't see it documented. AuthName test AuthType Basic PerlAuthenHandler My::AuthenOK AuthGroupFile /tmp/htgroup Require group test Server:

Re: A CGI.pm script

2004-06-14 Thread Larry Leszczynski
Hi David - MOD_PERL=mod_perl/1.99_07-dev [cut] It runs fine when accessed with http://hostname/cgi-bin/graffiti.pl. However, when accessed with http://hostname/cgi-perl/graffiti.pl, I get: Server error! The server encountered an internal error and was unable to complete your request.