Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CGI - 500 Internal Server Error

 
Lifelesspeople.com Forum Index -> Support Questions
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
Pie32
Not Banned


Joined: 17 Mar 2005
Posts: 1411
Location: Lost in 84

PostPosted: Fri Jan 12, 2007 9:14 pm    Post subject: CGI - 500 Internal Server Error Reply with quote

How can I run CGI on my website? I've tried putting example CGI scripts that I found into the cgi-bin folder, but whenever I try to run them I always get a 500 Internal Server Error. Are we not allowed to run CGI scripts? If so, why did my website start with a pre-created cgi-bin folder? Also, if I can in fact run CGI scripts and all that jazz, is there I way I can install C or C++ on my site so that I can use that to program the CGI scripts?
_________________
[img]http://luneknight.com.ru/counter.jpg[/img]
Random Battle: [img]http://luneknight.com.ru/l.jpg[/img] vs. [img]http://luneknight.com.ru/r.jpg[/img]
Back to top
 
Jacky
SolidRaven is a noob.


Joined: 01 Jan 2005
Posts: 3739
Location: Earth Password: dd4b21e Sex: Male

PostPosted: Sat Jan 13, 2007 1:26 am    Post subject: Reply with quote

I remembered that the root's cgi-bin folder does not work.

Try creating a directory in public_html, then create a cgi-bin in that directory.

Or check your CHMOD's settings.
_________________
Jacky

Create a story, 1 word per post!
Back to top
 
Pie32
Not Banned


Joined: 17 Mar 2005
Posts: 1411
Location: Lost in 84

PostPosted: Sat Jan 13, 2007 6:33 pm    Post subject: Reply with quote

I tried making a cgi-bin in some other folders besides the root, and I still get a 500 Internal Server Error. I believe my permissions are also fine, I initially tried 755 and when that failed I tried 777 and it still did not work.
_________________
[img]http://luneknight.com.ru/counter.jpg[/img]
Random Battle: [img]http://luneknight.com.ru/l.jpg[/img] vs. [img]http://luneknight.com.ru/r.jpg[/img]
Back to top
 
pterodactyl
Lifeless Fossil


Joined: 23 Jun 2005
Posts: 1472
Location: Ukraine

PostPosted: Sat Jan 13, 2007 7:10 pm    Post subject: Reply with quote

Can the following KB article help?
I am getting Internal Server Errors. What do I do?

By the way, what language do you use?
_________________
...while pterodactyls flow...
[img:c5ad10a0ae]http://pterodactyl.l2p.net/graphics/signature/groups.jpg[/img:c5ad10a0ae]
Back to top
 
Jacky
SolidRaven is a noob.


Joined: 01 Jan 2005
Posts: 3739
Location: Earth Password: dd4b21e Sex: Male

PostPosted: Sun Jan 14, 2007 3:42 am    Post subject: Reply with quote

No, don't use 777.

If you CHMOD 777 for folders and 666 for files, you will get a 500 Internal Server Error.

Also, check with the .htaccess you have. The most possible reason is the .htaccess in your root. You might want to post its content here, because the other time I tried turning some settings off with .htaccess, and I got a 500 Internal Server Error.
_________________
Jacky

Create a story, 1 word per post!
Back to top
 
spock
iSpock


Joined: 23 Mar 2005
Posts: 2866
Location: The Netherlands

PostPosted: Sun Jan 14, 2007 11:58 am    Post subject: Reply with quote

Pie32 wrote:
I tried making a cgi-bin in some other folders besides the root, and I still get a 500 Internal Server Error. I believe my permissions are also fine, I initially tried 755 and when that failed I tried 777 and it still did not work.

http://lifelesspeople.com/forum/kb.php?mode=article&k=28 wrote:
Make sure all folders are chmod 755 and all scripts are chmod 644.

Try this Wink
_________________
Spock's blog
My new site
My OpenTTD data package
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Support Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com