I have been reading and working on this issue till the morning but I can not find a solution yet. So I decided to post it here.
This is a part of my error log.
I removed suexec.
This is httpd.conf
This is a part of my sites config file
Still the search.cgi script gives the same error.
Any solution?
By the way a Hello World perl script runs fine.
I am uploading all the files in a rar file to the server and then extracting them.
search.cgi works on ubuntu 8.04 x64. Is the x64 architect of ubuntu cause this?
This is a part of my error log.
[Wed Apr 28 12:29:14 2010] [error] [client 88.254.120.15] (2)No such file or directory: exec of '/var/www/ftp/asmarsiv.com/cgi-bin/search.cgi' failed, referer: http://www.asmarsiv.com/arsive_gozat.php
[Wed Apr 28 12:29:14 2010] [error] [client 88.254.120.15] Premature end of script headers: search.cgi, referer: http://www.asmarsiv.com/arsive_gozat.php
[Wed Apr 28 12:29:14 2010] [error] [client 88.254.120.15] Premature end of script headers: search.cgi, referer: http://www.asmarsiv.com/arsive_gozat.php
This is httpd.conf
<Directory />
Options FollowSymLinks
AllowOverride All
# Order deny,allow
# Deny from all
</Directory>
#LoadModule rewrite_module modules/mod_rewrite.so
#Listen 85.25.78.28:9999
RLimitMEM 1073741824 1610612736
RLimitCPU 300 420
Timeout 300
AddHandler cgi-script .cgi
Options FollowSymLinks
AllowOverride All
# Order deny,allow
# Deny from all
</Directory>
#LoadModule rewrite_module modules/mod_rewrite.so
#Listen 85.25.78.28:9999
RLimitMEM 1073741824 1610612736
RLimitCPU 300 420
Timeout 300
AddHandler cgi-script .cgi
# CGI Directory
ScriptAlias /cgi-bin/ /var/www/ftp/asmarsiv.com/cgi-bin/
<Location /cgi-bin>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script cgi
</Location>
ScriptAlias /cgi-bin/ /var/www/ftp/asmarsiv.com/cgi-bin/
<Location /cgi-bin>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
AddHandler cgi-script cgi
</Location>
Any solution?
By the way a Hello World perl script runs fine.
I am uploading all the files in a rar file to the server and then extracting them.
search.cgi works on ubuntu 8.04 x64. Is the x64 architect of ubuntu cause this?
Comment