In DIRE need of help about installing CGI

free web hosting
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?

Reply

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

Reply

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">

Reply

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

 

 

 


Reply

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.

Reply

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

Reply

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 :?

Reply

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

Reply

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).

Reply

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

Reply


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*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : dire, installing, cgi

  1. Installing Xp And Vista Together
    (6)
  2. Why I May Be Installing Windows Xp Sp3 Again
    (7)
    This is a sad tale of a man and his machine that would not start again. The story continues with a
    sorted affair between two operating systems and a battle to win the love of this man’s heart. My
    problems began last weekend when I started my computer after it had been off from the previous
    night. Everything went normally throughout the POST but once Windows XP started I heard the dreaded
    clicking from the hard drive. After several reboots and a Spinrite diagnostic I gave up and called
    the time of death around three in the afternoon. This is not all bad because I had....
  3. Errors When Installing/booting
    From Live CD and actual installation (13)
    On my new computer, I decided to install Linux as I need it for development purposes. Wanting to
    take a shortcut, I tried using Wubi, the Windows-based Ubuntu Installer. Everything went fine as it
    installed. I restarted the system to find revalidation errors when booting. It kept on repeating
    the same thing over and over so I thought that the Wubi installation was corrupted or otherwise
    damaged. I downloaded Ubuntu 8.04 and burnt it onto a CD-R and tried that instead. I couldn't
    even boot into the Live CD session because the same error came up. It looked like this: ....
  4. Installing Lamp On Kubuntu
    (1)
    Ok this is a tutorial for the beginners who just need to test out simple php scripts because I will
    not include how to configure PHP. QUOTE Approx. time: 50 - 100 min (downloading kubuntu not
    included). 1. Download VirtualBox from http://www.virtualbox.org . If you already have it, skip
    this step. If you already are on Kubuntu, skip to step 26. 2. Download a linux based OS. Kubuntu
    Gutsy Gibbons is used in this tutorial and can be downloaded here:
    http://mirror.mcs.anl.gov/pub/ubuntu.....;/7.10/release/ . i386 is most likely good for your system
    if you use windo....
  5. Installing Mysql?
    Im tring to install MySQL to my game made from MCcodes lite. (17)
    Well i have the codes for my game i got them from a friend of mine. He bought them from MCcodes.com
    and now i am tring to install MySQL to it.. but no luck with all other web host. I don't yet
    have a account for Astahost but "localhost" will not work no matter what host it is.. the last host
    that worked was from freehostia but it doesn't support cron jobs. mysql4.freehostia.com was the
    hostname but the rest of the web host i tried did not tell me the host name they just said to use
    "localhost" which doesn't work so does anyone know whats wrong? or what hostna....
  6. Smf - Simple Setup Questions
    installing on Intranet (10)
    I've been thinking about setting up a forum for our office here, since the internet here is down
    most of the time, and everyone relies on email to communicate, lots of things get dropped. So I
    thought that a good idea would be to have a forum on the intranet, so that even if the internet goes
    down, everyone can still communicate. They're also totally clueless with anything more than
    basic, so the original idea of FTP and shared directories went out the window. So I've been
    recommended to use SMF as a simple and free forum software, but as I have almost no un....
  7. [trick] Installing Xp Last And Still Dual Boot
    For Windows Vista (0)
    QUOTE This was a tough one, but I managed to prove my theory that XP can be installed last and
    still added to the bootloader. It was simple to do with two cmd lines, but damn hard to find and
    figure out. My first problem getting Vista off of XP (I didn't want to use VistaBootPro in
    solving this puzzle) so I could add XP after the Vista install without any traces of it left from
    the bootloader. I could have reinstalled XP and cleaned it up, but a little research revealed a much
    quicker way with bootsect.exe. The syntax is: E:\boot\bootsect.exe /nt52 AL....
  8. Installing Microsoft .net Updates With Dep Turned On
    (2)
    Here is a cautionary tale for anyone who may be experiencing a similar problem. I was fortunate to
    find the solution but only after a few hours of uninstalling, reinstalling, and various other black
    magic tricks. Problem: I installed the latest Microsoft .NET 2.0 and 3.0 service packs from
    Windows Update and all instances of .NET stopped working. Symptoms: The first sign of trouble
    was a failed install of the service packs through Windows Update. It was late at night so I didn’t
    think much of it and shut down the computer for the night. On the next reboot anot....
  9. Beginner's Guide To Installing Software In Ubuntu
    (2)
    Having problems installing something on your new Ubuntu operating system? This guide will help you
    understand. http://cutlersoftware.com/ubuntuinstall/ _________________________________
    http://dserban01.googlepages.com/linkedin....abap.basis.html ....
  10. Do These Things Immediately After Installing Ubuntu
    (0)
    Article shows 13 things to do, programs to install immediately after installing Ubuntu 7.04 Feisty
    Fawn to make it rock. http://linuxondesktop.blogspot.com/2007/05...ubuntu-704.html
    _________________________________ http://dserban01.googlepages.com/linkedin....abap.basis.html ....
  11. Liferea Feed Reader - Tutorial Installing
    (0)
    I create east tutorial of liferea long ago, but she has still not changed much, originally I wrote
    it in Spanish but I translate it to the English for this wonderful community, but they excuse that
    she does not express to me well is that I have certain errors with my English. Liferea is an
    aggregator for online news feeds. There are many other news readers available, but these others are
    not available for Linux or require many extra libraries to be installed. Liferea tries to fill this
    gap by creating a fast, easy to use, easy to install news aggregator for GTK/GNOME. ....
  12. Installing Mediawiki?
    (9)
    Looking through the Fantastico section of the cPanel, I realised that MediaWiki wasn't included
    in the Wiki section, and I wondered why. When the most famous wiki of the current time is WikiPedia
    (which uses MediaWiki), I figured that it would be the one that the majority of people know how to
    use (not to mention the one I'm personally most familiar with). It's free to use, and I
    believe that all of the requirements required to run it are met by the servers: Web Server such as
    Apache or IIS PHP version 5.0 or later (5.1.x recommended) Database Server My....
  13. Slackware 12
    Help Installing (1)
    I just finished downloading a 3.6GB Slackware 12 DVD. And now I'm trying to install it using
    vmware with 256MB guest memory and 8GB virtual HDD. My computer has 2GB memory and 320GB HDD. After
    booting from DVD image, the installation goes very slow. Anybody experience the same thing ? I
    never find any problem when installing Slackware 11. Is it because the new features of Slackware 12
    ? Thank you very much for your help........
  14. Installing Ipb Forums?
    (3)
    Anyone has some guide how to upload and install forums?....
  15. Hints Point That Dell Will Be Pre-installing Ubuntu Soon!
    (22)
    Most of you already know that Dell is going to possibly (keyword) be pre-installing Linux on select
    versions of it's computers. On Digg, released about a day ago and has since been removed, and
    image on Dell's website
    (http://www.dell.com/content/topics/segtopic.aspx/unbuntu?c=us&cs=19&l=en&) showed that Ubuntu would
    officially be the first pre-installed Linux OS ever to be pre-installed by an OEM. In Dell's
    support website, there's even an article on how to install Ubuntu on your Dell computer.
    (http://support.dell.com/support/topics/global.aspx/support/....
  16. Installing Ipb Help
    HomePage Errors (5)
    hi all, i have recently installed IPB and have been gettings errors on the index page. all the
    other pages are fine, its only this one! the error comes up as QUOTE mySQL query error:
    SELECT f.*, c.id as cat_id, c.position as cat_position, c.state as cat_state, c.name as cat_name,
    c.description as cat_desc, c.image, c.url, m.member_name as mod_name, m.member_id as
    mod_id, m.is_group, m.group_id, m.group_name, m.mid FROM ibf_forums f, ibf_categories c
    LEFT JOIN ibf_moderators m ON (f.id=m.forum_id) WHERE c.id....
  17. Installing Vb.net
    Part 1 - Obtaining, installing, and creating your first application (3)
    Well I didn't see anything on here about how to get started with vb .net, so I figured that I
    would write a small tutorial on how to get started with programming in VB .Net. If I get a lot of
    positive responses, I'll continue, if not I won't. Step 1: Obtaining Visual Basic .NET
    Microsoft in recent years has made a giant step in allowing hobbyists to learn program without
    having the burden of buying expensive software. This is a great business idea on their part, because
    it allows more people to become interested in their software, therefore, increasing th....
  18. Want To Install Apache, Mysql, Php And Perl And Didn't Know How?
    Installing Apache Web Server on Windows XP (4)
    Installing Apache Web Server on Windows XP This article deals with installing Apache Web Server
    on Windows XP. This guide is easy to follow, for everyone to make use of it and it will help you
    have your very own personal web server for local web designing and development. Out of the numerous
    web servers on the internet, none of them prevail as the open source Apache web server does, the
    majority of all web servers out there run on Apache. This should make perfect sense to why I chose
    to use this server, because I want to familiarise you with the most widely used web....
  19. Installing Windows Vista Rtm With Boot Camp
    (4)
    I guess I'm a few months late on this Vista RTM thing... I'm writing this because I've
    gotten sick of the Mac OS. It's just too unnatural for me to use. But, for those of you who have
    been afraid to install Windows Vista RTM on your Macs using Boot Camp, this tutorial should help you
    and give you confidence. wifi, Aero, and installation work automatically. Two-finger scrolling
    works. iSight is actually functional (you can use it). Part 1: Installing Vista To install
    Windows Vista on your Mac, you'll need... (Guess.) A Windows Vista DVD and an ....
  20. Need Help: Installing Apache With PHP Support
    Not a tutorial, a question. (10)
    I have been trying to use php on my computer but i cannot seem to get Apache2 work with PHP5. Apache
    works fine by itself but when i edit the configuration file, the server crashes upon restart. When i
    comment out the Loadmodule line the server works but without the php support. Any ideas, tutorials
    or suggestions?....
  21. Installing Mac - Need Some Help?
    keep getting the same error message! (12)
    Hi all, I was hoping that someone here would be able to help since I havent been able to find help
    elsewhere! When i try to install mac os onto my macbook i keep getting the same error message.
    If i start the installation normally, i get to the grey 'apple' screen and the progress
    symbol (the spinning symbol) just keeps spinning! when i try in verbose mode (-v at the prompt)
    everything seems to be going well, then... i get a message disk1s2: I/O error sam multimedia: read
    or write failed, asc = 0×11, ascq = 0×00 sam multimedia: read or write failed, asc....
  22. Installing Glut To Dev C++
    A tutorial to install GLUT on Dev C++ (3)
    This is a tutorial that someone submitted to my programming site when it was up because I didn't
    know how to install glut on any other compiler than my own. I though it would be helpful to post
    this up for everyone here so they can use GLUT as well without having to google for hours. I'm
    not sure if I'm allowed, but I have quoted it and have given credit where credit is due, so if
    this post is allowed I hope this helps those people who couldn't program in GLUT yet. QUOTE
    Installing G.L.U.T. to Dev C++ By James Duran (email: vrok137@yahoo.com) ....
  23. An Installation Problem - Can Someone Help?
    Installing Alstrasoft autoresponder pro (20)
    I'm not sure if I'm in the right sub-forum or not ... but if this should be somewhere else
    please feel free to relocate! I have uploaded this PHP app to my server with plans to install
    it (It's a program like aweber.com) I made the database and started following the installation
    instructions. The instructions say to run the SQL file (autoresponder.sql). I haven't done
    this before in phpmyadmin as most php apps I have installed also have an installation script.
    Needless to say, I got an error: There seems to be an error in your SQL query. The M....
  24. Installation Gone Bad...
    Problems in installing Half Life Anthology (14)
    This is what happens yesterday. I get a good present from one of my friend who buys me a game -
    Half Life: Anthology. It is a package that includes Half-Life, Half-Life Blue Shift, Half-Life
    Opposing Force, and Counter Strike. I get it home, and I install it on my PC. The PC is not a
    beast but it is a decent system and I remember Half-Life demo not being very system hungry. It
    takes few minutes to install, where it first installs the Steam engine and then goes ahead to
    install the four games. I do not have an internet connection at home, but I should be able to pla....
  25. Problems Installing Vista
    (13)
    I just got a hold of Vista from my friend. He downloaded it from the Microsoft site and burned it on
    a DVD for me. Since I just installed VMware recently, I wanted to give Vista a try. So far it's
    only been giving me headaches. I've been getting all kinds of errors...most likely related to
    the amount of disk space I allocated for the install or the memory assigned. Well, I gave it all I
    got today. I set VMware to give it 15GB of hard drive space and 512MB of memory. It seems to work.
    Got up to the copying files and after a short file it gave me an error code 800....
  26. Cd Burner Can't Burn Anymore After Installing Vmware
    (4)
    Hi, one of my friends is having problems with the VMware Workstation program (using version 5.5).
    After installing it he couldn't burn any CDs from Windows (outside VMware) anymore. I checked
    all the settings and it looks ok. Don't have any burning software installed in that computer
    except the default burning feature in Windows XP Home. What is disabling him from burning CDs? This
    is what I did. I selected a file to burn. Then clicked on write these files to CD. Clicked Next.
    Then it says "Insert a writable disc to continue". This is a good CDRW that I just era....
  27. How To Install SMF
    Installing Simple Machines Forum (5)
    This guide will show you how to install an SMF forum in the event that you do not have Fantastico or
    cannot, for some reason, install SMF from it. Step 1: The first step is to make sure you have
    access to a MySQL database and enough rights for it (I don't know exactly what you need but if
    you have full access rights you will obviously be okay.) To create a MySQL database on your host
    through cPanel (comes with all Astahost accounts) login to cPanel by going to yoursite.com/cpanel or
    yoursite.astahost.com/cpanel and entering your username and password. Under site ....
  28. Installing Photoshop 7 On Linux (fedora)
    Needs windows installation (10)
    Hi, well I've tried coping with The GIMP but could never get it to make smaller compressed file
    sizes, so I had to cheat and use Adobe Photoshop 7, however, I use to switch over to Windows to do
    this, and it was only for compressing the file, so I thought, how about getting Adobe Photoshop 7
    working with Linux (no, I am not kidding!), well here's my steps on how to do this. (tested
    and verified that it works, not completely tested though). Also working off by memory so I do
    apologise if some things aren't correct, but I know it's near enough that you....
  29. Error In Installing MySQL Server
    MySQL server cannot be started (6)
    I try to upgrade my MySQL server from 4.018 to 4.1.10a. Firstly, I downloaded mysql-4.1.10a (not the
    essential one) for win XP Then I install the new version after the old version was uninstalled.
    After the installation process, Instance Configurator comes up to help for the configuration. But an
    error occured when it try to start the MySQL service. Error messageis "cannot create windows
    service for MySQL. Error:0" So my MySQL server cannot be started. It is running win XP on my
    computer. Does anybody can tell me what is wrong?. Thanks (sorry for my bad english)....
  30. Installing Psychostats - Need Help!
    perl scripts? (1)
    ive been trying to setup psychostats for my css game server. I want the stats for people to see on
    my website. Anyways I got the entire /stats dir in the cgi-bin as I was told that would make it
    work..when i do http://www.tcclan.org/cgi-bin/stats/install.pl i get the following 500 Internal
    Server error: QUOTE Internal Server Error The server encountered an internal error or
    misconfiguration and was unable to complete your request. Please contact the server administrator,
    webmaster@tcclan.org and inform them of the time the error occurred, and anything you might h....

    1. Looking for dire, installing, cgi

Searching Video's for dire, installing, cgi
Similar
Installing
Xp And Vista
Together
Why I May Be
Installing
Windows Xp
Sp3 Again
Errors When
Installing/b
ooting -
From Live CD
and actual
installation
Installing
Lamp On
Kubuntu
Installing
Mysql? - Im
tring to
install
MySQL to my
game made
from MCcodes
lite.
Smf - Simple
Setup
Questions -
installing
on Intranet
[trick]
Installing
Xp Last And
Still Dual
Boot - For
Windows
Vista
Installing
Microsoft
.net Updates
With Dep
Turned On
Beginner'
;s Guide To
Installing
Software In
Ubuntu
Do These
Things
Immediately
After
Installing
Ubuntu
Liferea Feed
Reader -
Tutorial
Installing
Installing
Mediawiki?
Slackware 12
- Help
Installing
Installing
Ipb Forums?
Hints Point
That Dell
Will Be
Pre-installi
ng Ubuntu
Soon!
Installing
Ipb Help -
HomePage
Errors
Installing
Vb.net -
Part 1 -
Obtaining,
installing,
and creating
your first
application
Want To
Install
Apache,
Mysql, Php
And Perl And
Didn't
Know How? -
Installing
Apache Web
Server on
Windows XP
Installing
Windows
Vista Rtm
With Boot
Camp
Need Help:
Installing
Apache With
PHP Support
- Not a
tutorial, a
question.
Installing
Mac - Need
Some Help? -
keep getting
the same
error
message!
Installing
Glut To Dev
C++ - A
tutorial to
install GLUT
on Dev C++
An
Installation
Problem -
Can Someone
Help? -
Installing
Alstrasoft
autoresponde
r pro
Installation
Gone Bad...
- Problems
in
installing
Half Life
Anthology
Problems
Installing
Vista
Cd Burner
Can't
Burn Anymore
After
Installing
Vmware
How To
Install SMF
- Installing
Simple
Machines
Forum
Installing
Photoshop 7
On Linux
(fedora) -
Needs
windows
installation
Error In
Installing
MySQL Server
- MySQL
server
cannot be
started
Installing
Psychostats
- Need
Help! -
perl
scripts?
advertisement




In DIRE need of help about installing CGI



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE