I'm trying to use a simple CGI script called Sniffer, which simply tells you basic things about the server it is installed on (location of Perl, Sendmail, etc.). But, when I put it in my CGI-BIN, I get this error message:
Forbidden
You don't have permission to access /cgi-bin/sniffer.cgi on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.20 Server at www.gtplanet.net Port 80
Now, when I got my hosting account, there was also an SCGI-BIN directory pre-installed on the server. So, I moved the script there and tried running it again. This time, I got a different error:
Code:
scgiwrap: no execute permission on cgi script/binary--------------------------------------------------------------------------------DOCUMENT_ROOT=/home/gtplanet/public_html
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=bblastvisit=1001647026; bbstyleid=2; bblastactivity=1001647026; bbuserid=1; bbpassword=7d591d9d78f21ea8e103d7b961596f2c
HTTP_HOST=www.gtplanet.net
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
REMOTE_ADDR=63.90.19.4
REMOTE_PORT=1409
SCRIPT_FILENAME=/usr/local/cpanel/cgi-sys/scgiwrap
SERVER_ADDR=209.123.183.57
SERVER_ADMIN=webmaster@gtplanet.net
SERVER_NAME=www.gtplanet.net
SERVER_PORT=80
SERVER_SIGNATURE=Apache/1.3.20 Server at www.gtplanet.net Port 80

SERVER_SOFTWARE=Apache/1.3.20 (Unix) DAV/1.0.2 mod_perl/1.25 mod_bwlimited/0.8 PHP/4.0.6 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.4 OpenSSL/0.9.5a
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.0
REQUEST_METHOD=GET
QUERY_STRING=
REQUEST_URI=/scgi-bin/sniffer.cgi
SCRIPT_NAME=/scgi-bin
PATH_INFO=/sniffer.cgi
PATH_TRANSLATED=/home/gtplanet/public_html/sniffer.cgi
What should I do? I have been able to re-create this many times, and I am positive I have uploaded the script in ASCII mode.