Welcome to WebmasterWorld Guest from 54.198.222.129

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Problems with CGI Script

cgi script problem

     
12:57 am on Aug 11, 2008 (gmt 0)

5+ Year Member



Hello. I am a webmaster and I am having a problem with my cgi script.

Rather than explain the problem, I will show it to you.

<removed>

I think that you will immediately see the problem.

[edited by: jatar_k at 1:41 am (utc) on Aug. 11, 2008]
[edit reason] no urls thanks [/edit]

1:10 am on Aug 11, 2008 (gmt 0)

5+ Year Member



The cgi-bin is not setup properly. Ask your hosting service to get that fixed for you. The fact that you can even display an html document directly from the cgi-bin indicates that it is a regular folder and not setup to run scripts.
12:04 pm on Aug 11, 2008 (gmt 0)

5+ Year Member



Ah but i have no hosting service...I do everything myself. And i will need to know how to set up the cgi bin correctly to run scripts in ubuntu linux, which is my server os.
5:24 pm on Aug 11, 2008 (gmt 0)

5+ Year Member



Ask on a forum that discusses the HTTP server you will be using, for example, Apache. Or google for a tutorial for "Setting up Apache on ubuntu" and look for how to get CGI scripts running. How you do it will depend also on the version of the HTTP server software you are using. If you are using Apache you can check on the apache website too.

[httpd.apache.org...]

8:42 pm on Aug 11, 2008 (gmt 0)

5+ Year Member



cgi-bin thing fixed.

New problem found.

Here is part of the source of that page:

<INPUT TYPE="HIDDEN" NAME="html_response" VALUE="Your request has been sent. We will be contacting you very shortly with a response. Thank you for your interest." >

With this in the form, the cgi script is supposed to return an html message that goes like this:

"Your request has been sent. We will be contacting you very shortly with a response. Thank you for your interest."

When i try to submit the form, instead of getting that response, I get a blank screen.

Granted, I no longer get the contents of the cgi file, but i still don't see the html response i am supposed to see.

[edited by: phranque at 10:31 pm (utc) on Aug. 11, 2008]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

10:47 pm on Aug 11, 2008 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], doomslagen!

what is the response you get?
200 OK?
i would look in the script and find if and where it is handling the html_response input parameter and see what is or isn't happening there.

11:36 pm on Aug 11, 2008 (gmt 0)

5+ Year Member



Need to see the CGI script.
3:20 pm on Aug 13, 2008 (gmt 0)

5+ Year Member



The CGI script can be found at:

<snipped>

I hope i can get this over with soon...my beta launch is in a few days...

[edited by: coopster at 7:07 pm (utc) on Aug. 13, 2008]
[edit reason] no personal urls please TOS [webmasterworld.com] [/edit]

6:29 pm on Aug 13, 2008 (gmt 0)

5+ Year Member



We can not see the cgi script when you post a URL to the script. Plus this forum does not allow you to post URLS, so it will be removed as soon as a moderator sees it. Post the actual code.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month