Nov 21, 2009

In DIRE need of help about installing CGI

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > Perl & CGI

In DIRE need of help about installing CGI

chronogamer28
Trying to install the CGI script from Astahost for a counter on my site, but it doesn't work. Can anyone help me?

Comment/Reply (w/o sign-up)

mastercomputers
QUOTE (chronogamer28 @ Sep 29 2004, 01:52 PM)
Trying to install the CGI script from Astahost for a counter on my site, but it doesn't work. Can anyone help me?
*


If you would like to post the script, I could help, or give me more detail on why it's not working, make sure that your cgi script is chmod 755, read/write/execute for owners and read/write for group and users.

Cheers, MC

Comment/Reply (w/o sign-up)

chronogamer28
Alright, here's the script for the counter:


<img src="/cgi-sys/Count.cgi?df=chronoga.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=K">

Comment/Reply (w/o sign-up)

mastercomputers
QUOTE (chronogamer28 @ Sep 29 2004, 10:20 PM)
Alright, here's the script for the counter:
<img src="/cgi-sys/Count.cgi?df=chronoga.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=K">
*


That's the correct way to use that script, have you tried previewing it in your cpanel to see if it's working from there? It should open up a frame to view the counter, you can then ask for the HTML code and it'll display it, from there you just reset it back to 0 and then write the HTML page for it.

A simple way would be
HTML
<html>
<head>
<title>
test
</title>
</head>
<body>
<img src="/cgi-sys/Count.cgi?df=chronoga.dat|display=Counter|ft=6|md=5|frgb=100;139;216|dd=K">
</body>
</html>


Test that with your site first, then reset it in cpanel and add it to your page where ever you want to set it up.


Cheers, MC

 

 

 


Comment/Reply (w/o sign-up)

chronogamer28
Well see, if you literally dissect that, it is pulling a 'Count.cgi' file from the 'cgi-sys' folder, and then it's looking for all this other stuff. :?

Hit me up on MSN and we'll talk more about it.

Comment/Reply (w/o sign-up)

mastercomputers
QUOTE (chronogamer28 @ Sep 30 2004, 09:21 AM)
Well see, if you literally dissect that, it is pulling a 'Count.cgi' file from the 'cgi-sys' folder, and then it's looking for all this other stuff. :?

Hit me up on MSN and we'll talk more about it.
*


chronogamer28, if you can test it from your cpanel first, which is what you have to do to make sure it's all setup correctly, then it will show whether it's working, if not, then it's a fault that OpaQue would need to sort.

cgi-sys is a directory not seen by your hosting, it's a feature that's given wide access to when incorporated with cpanel. Your chronoga.dat file is your file that has the data for the counter and what it's set at, this is what cpanel will reset when you ask to reset it.

I know what you mean when you question cgi-sys, but you will have to trust me on that, as it does exist even if you can't see it.


Cheers, MC

Comment/Reply (w/o sign-up)

chronogamer28
Should I PM OpaQue about this?

Hrm, I looked into my cgi-bin folder and it seems that there are some of the scripts that were mentioned in Cpanel's cgi-center, such as the random HTML generator and the banner thingy, but I thought all of the scripts should be in there, not just a few :?

Comment/Reply (w/o sign-up)

mastercomputers
QUOTE (chronogamer28 @ Sep 30 2004, 10:42 PM)
Should I PM OpaQue about this?

Hrm, I looked into my cgi-bin folder and it seems that there are some of the scripts that were mentioned in Cpanel's cgi-center, such as the random HTML generator and the banner thingy, but I thought all of the scripts should be in there, not just a few :?
*


Try the full path to it, Just add http://yousite/cgi-sys/Count.cgi? etc... to it, as you may not be linking correctly to it.

Other than that, PM OpaQue if all else fails.


Cheers, MC

Comment/Reply (w/o sign-up)

jcguy
QUOTE (chronogamer28 @ Sep 30 2004, 09:42 AM)
Should I PM OpaQue about this?

Hrm, I looked into my cgi-bin folder and it seems that there are some of the scripts that were mentioned in Cpanel's cgi-center, such as the random HTML generator and the banner thingy, but I thought all of the scripts should be in there, not just a few :?
*


I don't think the scripts are placed in your cgi-bin folder by default. If you want to use a particular cgi script, i think you have to install those scripts from cpanel (by following simple insructions).

Comment/Reply (w/o sign-up)

chronogamer28
This may be a bit out of date, but I eventually got the counter to work. Thanks guys!

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Dire Installing Cgi


    Looking for dire, installing, cgi

See Also,

*SIMILAR VIDEOS*
Searching Video's for dire, installing, cgi
advertisement



In DIRE need of help about installing CGI

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com