Reply
CGi Problem
Old 05-20-2005, 10:30 AM CGi Problem
gdhanasekar's Avatar
Average Talker

Posts: 20
Hello all,

I have one doubt regarding cgi. Can I integrate cgi with HTML like embedding php in html. If it so , I have an error regarding this, it says that

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

And error log says that

[Fri May 20 10:27:40 2005] [error] [client 61.17.56.30] File does not exist: /home/dhana/public_html/500.shtml
[Fri May 20 10:27:40 2005] [error] [client 61.17.56.30] Premature end of script headers: /home/dhana/public_html/cgi-bin/login.cgi
[Fri May 20 10:13:23 2005] [error] [client 61.17.56.30] File does not exist: /home/dhana/public_html/500.shtml
[Fri May 20 10:13:23 2005] [error] [client 61.17.56.30] Premature end of script headers: /home/dhana/public_html/cgi-bin/signup.cgi

I dont know how to rectify this plz help me?
gdhanasekar is offline
Reply With Quote
View Public Profile Visit gdhanasekar's homepage!
 
When You Register, These Ads Go Away!
Old 05-20-2005, 01:14 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Make sure your cgi script has execute permissions on it. Usually setting the permissions to 755 will work.
Anacrusis is offline
Reply With Quote
View Public Profile Visit Anacrusis's homepage!
 
Old 05-21-2005, 01:34 AM
gdhanasekar's Avatar
Average Talker

Posts: 20
Ya all the cgi files are in 755 file permission.

Is it possible to insert the cgi code in html like PHP . Also here is the link for page template.plz check this to understand my problem..

http://www.groupindia.com/scriptpagetemplate.html

Last edited by gdhanasekar : 05-21-2005 at 01:38 AM.
gdhanasekar is offline
Reply With Quote
View Public Profile Visit gdhanasekar's homepage!
 
Reply     « Reply to CGi Problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12736 seconds with 12 queries