Log in

View Full Version : Forums down, my fault. I deleted cgi-bin


4x4 Mecca
06-04-2007, 05:00 AM
I have restored it, but I still get a 500 server error. Any ideas?

Dismounted
06-04-2007, 07:20 AM
Did you do anything else? Because cgi-bin usually contains all CGI scripts, which vBulletin does not use.

4x4 Mecca
06-04-2007, 03:21 PM
I have my forums in www.mysite.com/forum and I tried moving them to www.mysite.com then changed my mind cause a few things were not working. They were working fine again in www.mysite.com/forum so I highlighted most folders in www.mysite.com's root and deleted them, then the forum went down.

snakes1100
06-04-2007, 03:52 PM
Your site is spitting out a 500 internal server error, if one of the php files for vb is gone, you shouldnt get a 500 error page.

Did you make sure all the vbulletin files are there and that the permissions are set correctly on the files?

dyna88
06-04-2007, 03:57 PM
Could be an issue with the htaccess file

snakes1100
06-04-2007, 04:31 PM
I could agree with dyna here, is apache running as a cgi and the host possibly had something in the cgi-bin dir for your site?

As this isnt a vb issue as this is happening even in your domains root dir.

4x4 Mecca
06-04-2007, 04:34 PM
I checked the .htaccess file and it's still in my domain root. Thanks guys, I'll check that again.

MY htaccess had this in it

AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

I removed that and it works fine. Any idea what happened, if I need to add that, and what it does?

Dismounted
06-05-2007, 07:41 AM
It runs your PHP scripts as CGI. Basically, there is two ways of running PHP for Apache. As an Apache module or as a CGI binary.