Larry,
That was it. By setting STATE_DIR to the absolute path, the script now runs.
Can folks on this list perhaps share a little discussion about methods I
could use to "chdir to the right directory at script startup." It would
help to see a sampling of idea.
Thanks. :-)
At 11:57 PM 6/14/04 -
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
> reque
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: Ap
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/"
AllowOverride None
Options None
Ord
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,
operatin
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
$ /opt/perl-5.8.4/bin/HEAD http://lx50:9090
Enter user
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
>>>"
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,
> 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
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
10 matches
Mail list logo