Function-get-contents :: Failed to open stream (500 Server errror)

BitClusterUK

Registered
Jan 29, 2013
0
0
0
cPanel Access Level
Website Owner
Hi cPanel,

Wanted to know if you guys could help me. I've just tried to install an uploading script and there seems to be an issue with the site. The following error is what I am getting.

Code:
 Warning: file_get_contents(http://bitcluster.co.uk/cgi-bin/upload.cgi) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /home/bitclust/public_html/install/index.php on line 141
When I go to the installer file I get another error:

Code:
CGI Bin is not setup correctly! Please contact your webhost about allowing CGI to be accessed/excuted publicly.
I know the error is due to CGI-bin, I've tried CHMOD 777, 775

Any Help?


Just encase this could be a htaccess problem. below is the .htaccess file.


Code:
## BEGIN SETTINGS FOR UPLOAD SCRIPT, DO NOT REMOVE ##
<IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
</IfModule>
<IfModule mod_gzip.c>
	mod_gzip_on No
</IfModule>
<IfModule mod_deflate.c>
	SetEnvIfNoCase Request_URI upload.cgi no-gzip dont-vary
</IfModule> 
## END SETTINGS FOR UPLOAD SCRIPT, DO NOT REMOVE ##

# turn rewrite engine on #
RewriteEngine On

RewriteRule ^/es/(.+)$ /$1

# links with .html appended ##
RewriteRule ^members/delete/(.*)/(.*).html$ /delete_file.php?delete_id=$1&file_id=$2 [L]
RewriteRule ^files/(.*).html$ /download.php?file_id=$1 [L]
RewriteRule ^delete/(.*)/(.*).html$ /delete_file.php?delete_id=$1&file_id=$2 [L]
RewriteRule ^info/(.*).html$ /info_file.php?info_id=$1 [L]

# links with .html removed #
RewriteRule ^members/delete/(.*)/(.*)$ /delete_file.php?delete_id=$1&file_id=$2 [L]
RewriteRule ^files/(.*)$ /download.php?file_id=$1 [L]
RewriteRule ^delete/(.*)/(.*)$ /delete_file.php?delete_id=$1&file_id=$2 [L]

# normal links #
RewriteRule ^members/(.*)$ /$1 [L]
RewriteRule ^help/(.*)$ /$1 [L]
RewriteRule ^get/(.*)/(.*)/(.*)$ /get_file.php?file_id=$1&time=$2&filename=$3 [L]

# error docs #
ErrorDocument 404 /error_404.php
 
Last edited: