PDA

View Full Version : ok, I have a stupid question....



zazoo
June 23rd, 2001, 16:59
I got a free cgi script, and I dont know much about perl but it wont seem to let me run it.

I uploaded it in ascii and such but thats not the problem, the problem is that it wants to know the location of my cgi-bin.


#$cgi_path = "/path/to/cgi-bin";

now I understand that its usualy somthing like /home/username/cgi-bin but I dont know how to find out what the accual location is... can I use telnet or somthing to find out?

thanks in advance -Zazoo

puDDs
June 23rd, 2001, 17:07
Here....download this perl script (http://www.smyden.com/env.zip) and install it on your server (just change the path to perl). When you run it, it will give you a list of environment variables for your server...what you need is this line:

PATH_TRANSLATED = C:\cgi-bin\env.pl

That's what my server gives me (windows 2000). Your's will of course, be different, but that's what you're looking for.

zazoo
June 23rd, 2001, 17:43
Thanks alot :D :D :D

Homeygwiz
June 28th, 2001, 15:43
There is never such a thing as a stupid question. Only a question not asked is pretty stupid.

:D

Words of wizdom from HGW - Homeygwiz