|
#92944
10/12/2002 8:07 PM
|
Joined: Oct 2000
Posts: 51
Member
|
Member
Joined: Oct 2000
Posts: 51 |
okay didn't know extactly where to put this, but it is about hosting so ill try to be clear as i can.
Okay couple days go i have this site i work on with a ubb, my problem is that if i wanna upload any other cgi file it get a Internal Server Error, even if i upload a fresh UBB or hello world cgi file. so i just said okay ill just leave it how it currently is. But now we move to a faster line since he got a new job at a different isp and is hosting there with a different box. But we are still receiving this same error. with any cgi file, weird thing is that if i move the current ubb we have set up it will work, but no new cgi or any other type of files.
So today i decided to take a look at the log file after i run the hello.cgi file supplied with the ubb. It showed:
[Sat Oct 12 20:52:31 2002] [error] [client *.*.*.*] File does not exist: /var/www/html/spacer.gif [Sat Oct 12 20:53:13 2002] [error] (2)No such file or directory: exec of /var/www/cgi-bin/hello.cgi failed [Sat Oct 12 20:53:13 2002] [error] [client *.*.*.*] Premature end of script headers: /var/www/cgi-bin/hello.cgi [Sat Oct 12 20:53:15 2002] [error] (2)No such file or directory: exec of /var/www/cgi-bin/hello.cgi failed [Sat Oct 12 20:53:15 2002] [error] [client *.*.*.*] Premature end of script headers: /var/www/cgi-bin/hello.cgi [Sat Oct 12 20:53:32 2002] [error] [client *.*.*.*] attempt to invoke directory as script: /var/www/cgi-bin [Sat Oct 12 20:53:37 2002] [error] [client *.*.*.*] attempt to invoke directory as script: /var/www/cgi-bin [Sat Oct 12 20:56:16 2002] [error] (2)No such file or directory: exec of /var/www/cgi-bin/hello.cgi failed [Sat Oct 12 20:56:16 2002] [error] [client *.*.*.*] Premature end of script headers: /var/www/cgi-bin/hello.cgi
so anyone know why the server is doing this, the server runs redhat 8 i'm sure with apache Apache/1.3.23 not sure what version of perl
ohh and yes i chmoded the files correctly, uploaded in acsii, perl path is correct ohh and if this is hte wrong forum could someone kindly move it for me thnx.
|
|
|
#92945
12/31/2002 11:01 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
never saw this out of curiosity, what was the problem(s)?
|
|
|
#92946
12/31/2002 1:27 PM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
Do you have a shell access? when yes, you can check your perl path with which perl. To see the perl version type perl -v.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|