Jean-François MORFIN
asked on
Which URL to trigger this CGI ?
I wrote a CGI in perl a long ago (never wrote perl script for ten years ;-). It is named "check.cgi" in the www/cgi-bin directory (i.e. www/cgi-bin/check.cgi)
It starts as follows:
Which URL should be entered to trigger it : "http://abc.de/...." what the "...." should be ?
Thanks a lot !
It starts as follows:
#!/usr/bin/perl
use strict;
use CGI;
our $mailprog = "/usr/sbin/sendmail -t";
our $respond = "";
our $upto = "";
our $data = '';
our $db = '';
# -----------------------------------------------------------------------------
# declare base
# -----------------------------------------------------------------------------
our @token;
our $q = new CGI;
our %in = $q->Vars;
our %gp;
# -----------------------------------------------------------------------------
# get the inputs
# -----------------------------------------------------------------------------
our $dn =lc($in{'dn' }) || '' ;
our $orig =lc($in{'orig' }) || '' ;
our $tld =lc($in{'tld' }) || '' ;
.....Which URL should be entered to trigger it : "http://abc.de/...." what the "...." should be ?
Thanks a lot !
ASKER
I am sorry, but I do not understand ? May be I was not clear enough ? I reviewed the end of the question. My apache works with cgi's.
You asked, "Which URL should be entered to trigger it" + then answer is...
Your Apache config file determines this.
Might be any of the following...
The answer lies in your Apache config for the host serving your CGI script.
Your Apache config file determines this.
Might be any of the following...
foo.com/cgi-bin/check.cgi
foo.com/check.cgi
foo.com/check
foo.com/jumpin-jack-flash
The answer lies in your Apache config for the host serving your CGI script.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Look for references related to ScriptAlias or however you have CGI invocation setup for your Apache config.