Imam problem sa konfiguracijom apache-a!
Naime u httpd.conf stoji sledece:
# 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/ "/var/www/cgi-bin/"
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
SetHandler cgi-script
Order allow,deny
Allow from all
</Directory>
</IfModule>
# End of aliases.
Ali cgi skripte nikako nece da rade!!
A evo i greske iz /var/log/apache/error_log
[Mon Mar 18 20:31:02 2002] [error] (2)No such file or directory: exec of /var/www/cgi-bin/chaten/chat2.cgi failed
[Mon Mar 18 20:31:02 2002] [error] [client 127.0.0.1] Premature end of script headers: /var/www/cgi-bin/chaten/chat2.cgi
Stvarno ne vidim u cemu je preblem!
I jos nesto, direktorijumi i fajlovi su propisno chmod-ovani!