You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ron Wingfield <dt...@ionet.net> on 2002/06/04 17:47:08 UTC
CGI Execution Problem
RE: The following (error log) message:
unable to include "/www/cgi-bin/perl/counter.pl" in parsed file /www/vhosts/apples.com/index.htm
I think I've got all the appropriate .htaccess directives in place, e.g., Option +Includes and +ExecCGI. I'm trying to avoid using global (i.e., at the default primary serever level) ScriptAliases -- perhaps I need to (. . .understand more) ?
In an appempt to resolve the path/permissions/whatever . . .problem, I've written a simple "hello world" type perl script to call from the browser. I cannot understand why this will not work. (The script does work from a unix command line.)
http://archaxis.net/www/cgi-bin/perl/xxx.pl
Archaxis is supposed to be my primary server -- not a VirtualHost. This DocumentRoot thing, ScriptAliases, etc., . . .are so confusing. I understand directory structures and unix file permission-modes, etc., and the related security issues, etc., but the implicit (restrictive) affects/effects of the Apache directives sometimes elude me.
Suggestions?
Thanks,
Ron Wingfield