scriptin basında #!   burası nasıl.. bu path size uyan turden mi ?
 
bir de apachedeki cgi ayarlari geliyor insanin aklina..
----- Original Message -----
Sent: Tuesday, December 14, 2004 6:57 PM
Subject: [freebsd] cgi hatasi

Merhaba

 

FreeBSD 5.3 ustune kurulu Apache/2.0.52 (FreeBSD) PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7d
 
www.deneme.com/cgi-bin/test/alarmcgi  calistirdigimda
 
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

 

Loglara baktigimda

 

(8) Exec format error: exec of /usr/local/www/data/cgi-bin/test/alarmcgi failed

 

Premature end of script headers: alarmcgi

 

 

Apache Conf asagidaki gibi

 

<VirtualHost 192.168.0.1:80>

        DocumentRoot /usr/local/www/data

        ServerName www.deneme.com

        ServerAlias deneme.com

        ScriptAlias /cgi-bin/ /usr/local/www/data-dist/cgi-bin/

            <Directory /usr/local/www/data-dist/cgi-bin/>

                Options +ExecCGI

                allow from all

            </Directory>

 

        <Files V1>

            ForceType application/x-httpd-php

        </Files>

</VirtualHost>

 

 

Bunu nasil duzeltebilirim

 

Cevaplar icin tesekkurler

Cevap