MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

OT :CGI-wrap



Please forgive this "off topic" post but I dont know where else to turn. I
have been saving all the messages for the last few months (but havent read
many) as a possible help when I install mini-vend on my web site. As a
pre-cursor to this I am trying to install a simple counter and my ISP uses
CGIWRAP.

my directory structure is

/user/tomk/public/html/cgi-bin

I have a little text file to hold the number (counter.txt)in my public_html
directory...its permissions are set to a+rw (chmod 666)
I have the CGI file (counter.cgi)  in the cgi-bin dir ...its permissions are
set to a+rx (chmod 755)

I can make the script run by telnet by typing ...perl cgi-bin/counter.cgi
(notice not running with cgiwrap)

this runs normally AND appends the next number to the text file

I am trying to run the counter from my index page and have tried a MULTITUDE
of different combinations to activate the cgi I know I am doing something
VERY stupid but I cant for the life of me figure out what. I am sort of
familiar (certainly no expert) in visual basic so I am reasonably
comfortable with programming. AND ITS ONLY ONE LINE OF CODE....

In the readme text with the cgi....
=============================================
"10.  In the place you would like to have the counter, use this tag:

<!--#exec cgi="/cgi-bin/you/counter.cgi" -->
/cgi-bin/you/counter.cgi is the path to your counter.cgi file on your
server.
So /cgi-bin/scripts/counter.cgi would take you from

http://dreamcatchersweb.com/scripts/file.htm to

http://dreamcatchersweb.com/cgi-bin/scripts/counter.cgi.
NOTE -- EACH SERVER SETS UP SERVER SIDE INCLUDES DIFFERENTLY,
CHECK WITH THEM TO SEE WHICH PATH IS CORRECT."
===============================================

here are some of the combinations I have tried

<!--#exec cgi="http://piedpiper.com.au/cgi-bin/counter.cgi">
<!--#exec cgi="http://www.multiline.com.au/cgi-bin/counter.cgi">
<!--#exec cgi="http://www.cougar.multiline.com.au/cgi-bin/counter.cgi">
<!--#exec cgi="cgi-bin/cgiwrap/tomk/counter.cgi">
<!--#exec cgi="cgi-bin/cgi-bin/counter.cgi">

My initial thought that since the index.html is sitting in the public_html
dir that simply calling cgi-bin/counter.cgi would do it

NOTHING HAS WORKED so far ....please help the hair is getting VERY thin...


Regards
Tom keatley

....wait till I start installing mini-vend ...after this I AM SURE I will be
the most frequent poster <worried grin>












Search for: Match: Format: Sort by: