Larry Leszczynski wrote:
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
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
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