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:

#!/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'      }) || ''         ;

Open in new window

.....

Which URL should be entered to trigger it : "http://abc.de/...."  what the "...." should be ?

Thanks a lot !
versailleschercheur libreAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Whatever URL will trigger this CGI program will be determined by your Apache config.

Look for references related to ScriptAlias or however you have CGI invocation setup for your Apache config.
versailleschercheur libreAuthor Commented:
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.
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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...

foo.com/cgi-bin/check.cgi
foo.com/check.cgi
foo.com/check
foo.com/jumpin-jack-flash

Open in new window


The answer lies in your Apache config for the host serving your CGI script.
versailleschercheur libreAuthor Commented:
foo.com/cgi-bin/check.cgi?dn=xxx&tld=xxx&....

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.