Pessoal,

Configurei o meu apache para usar CGI, consigo acessar
meu home mas o cgi retorna essses erros no log :

8)Exec format error: exec of
/home/user/public_html/cgi-bin/teste.cgi
[client 192.168.1.1] Premature end of script headers

O browser retorna Internal Server Error.

#httpd.conf
<IfModule mod_alias.c>
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

    <Directory "/usr/lib/cgi-bin/">
        AllowOverride All
        Options ExecCGI -MultiViews
+SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>

 <Directory /home/faria/public_html/cgi-bin/>
                  Options +ExecCGI
  </Directory>

Como resolver isso ?
Meu script de cgi, roda normalmenteno shell.

Att,

Faria


__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a