Thanks Chris,
You guys are awesome! I followed up on your clue and directed my attention at
Web*. I found a little Demo.cgi application in my tools folder and it
demonstrated how the server generates the $ENV info. Continueing to investigate,
armed with renewed hope and inspiration, I created a small line of code to print
the {SCRIPT_NAME} variable inside the reg_system.cgi code AND IT WORKED! and then
I tried printing $cgi to "look" what might be there and IT WAS THE SAME THING...
my reference to my cgi script location... just as it should be! Horray! not
quite... still a blank between the quotes in the html code ( action="") ...sigh.

But, even that is somewhat encouraging... at least its not showing in the source
action="{{cgi}}"

By the way, I am invoking the cgi through my browser the proper way (I hope) by
entering:
http://www.mydomainname.com/cgi-bin/reg_system.cgi

Any more thoughts on the blank action reference?

-Wes

Christopher Masto wrote:

> On Tue, Aug 08, 2000 at 12:57:30PM -0400, WebWiz wrote:
> > The assignment of $ENV{SCRIPT_NAME} to $cgi *shouldn't* require that you set
> > up anything in the preferences.  The script name is set up in the
> > environment automatically by Perl when the script is launched, although your
>
> Quite wrong.  Perl doesn't set any environment variables.  But your
> web server should - it's part of the CGI specification.
> --
> Christopher Masto         Senior Network Monkey      NetMonger Communications
> [EMAIL PROTECTED]        [EMAIL PROTECTED]        http://www.netmonger.net
>
> Free yourself, free your machine, free the daemon -- http://www.freebsd.org/

Reply via email to