Apache/2.0.43 Server
Als ik het commando which perl intik krijg ik het volgende:
[root@server apache]# which perl
/usr/local/bin/perl
Ik heb in Apache het pad script goed staan, maar voor de zekerheid hier een stukje
zetten:
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/services/apache/cgi-bin/"
<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
Scriptsock logs/cgisock
</IfModule>
#
# "/services/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/services/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Ik heb net ook nog extra Perl 5.8.0 geinstalleerd, maar krijg elke keer de 500 Error
In de error log files vindt ik dit:
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Premature end of script headers: test.cgi
test.cgi: ":fatalsToBrowser" is not exported by$
test.cgi: Can't continue after import errors at$
test.cgi: BEGIN failed--compilation aborted at $
Premature end of script headers: test.cgi
test.cgi: ":fatalsToBrowser" is not exported by$
test.cgi: Can't continue after import errors at$
test.cgi: BEGIN failed--compilation aborted at $
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Nu de Vraag???
WAT DOE IK FOUT? HELP
Als ik het commando which perl intik krijg ik het volgende:
[root@server apache]# which perl
/usr/local/bin/perl
Ik heb in Apache het pad script goed staan, maar voor de zekerheid hier een stukje
zetten:
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/services/apache/cgi-bin/"
<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
Scriptsock logs/cgisock
</IfModule>
#
# "/services/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/services/apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Ik heb net ook nog extra Perl 5.8.0 geinstalleerd, maar krijg elke keer de 500 Error
In de error log files vindt ik dit:
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Premature end of script headers: test.cgi
test.cgi: ":fatalsToBrowser" is not exported by$
test.cgi: Can't continue after import errors at$
test.cgi: BEGIN failed--compilation aborted at $
Premature end of script headers: test.cgi
test.cgi: ":fatalsToBrowser" is not exported by$
test.cgi: Can't continue after import errors at$
test.cgi: BEGIN failed--compilation aborted at $
Premature end of script headers: card.cgi, referer: http://www.psy-c.nl/po$
Nu de Vraag???
WAT DOE IK FOUT? HELP