Re: [freebsd] cgi hatasi

2004-12-14 Başlik Engin ÖZTÜRK




scriptin basnda #! buras nasl.. bu path size uyan turden 
mi ?

bir de apachedeki cgi ayarlari geliyor insanin aklina..

  - Original Message - 
  From: 
  Nusret Kurar 
  
  To: [EMAIL PROTECTED] 
  
  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.7dwww.deneme.com/cgi-bin/test/alarmcgi calistirdigimdaInternal 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


[freebsd] cgi hatasi

2004-12-14 Başlik Nusret Kurar








Merhaba



FreeBSD 5.3 ustune kurulu Apache/2.0.52 (FreeBSD) PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7dwww.deneme.com/cgi-bin/test/alarmcgi calistirdigimdaInternal 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