Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
 
Moderator(s): Prowler, jcokos
Member Message

andla
Joined: Aug 02, 2004
# Posts: 36

View the profile for andla Send andla a private message

Posted: 12/23/2004 05:00 am
Edit Message Delete Message Reply to this message

Hi,

I want to use this link:
<A HREF="page4.shtml?arg1=1&arg2=3">page4.shtml</A>

And in the SSI page I want to use this script:
<!--#exec cgi="/cgi-bin/intellilink.cgi?start=arg1&end=arg2"-->

I suspect on some servers this is done automatically:
<A HREF="page4.shtml?start=1&end=3">page4.shtml</A>
<!--#exec cgi="/cgi-bin/intellilink.cgi"-->
I mean that some server knows how to pass the parameters so intellilink.cgi gets the parameters.

This is not done in IIS on my web host.

I would be grateful for any help on this


Sincerely
Andla




andla
Joined: Aug 02, 2004
# Posts: 36

View the profile for andla Send andla a private message

Posted: 12/23/2004 05:26 am
Edit Message Delete Message Reply to this message

Forgot to set email notification.....



Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1705

View the profile for Prowler Send Prowler a private message

Posted: 12/26/2004 11:48 pm
Edit Message Delete Message Reply to this message

It all depends on the server configuration.

You may try one of the following server environment variables to 'extract' the parameter:

$ENV{'REQUEST_URI'}
$ENV{'HTTP_REFERER'}
$ENV{'REDIRECT_URL'}





andla
Joined: Aug 02, 2004
# Posts: 36

View the profile for andla Send andla a private message

Posted: 12/29/2004 08:30 am
Edit Message Delete Message Reply to this message

I want to do this on the SSI page. The perlscript works fine. If i use:
intellilink.cgi?start=1&end=4 then I get the parameters in the CGI script.
If I do the same in the SSI url I cannot pass it to the CGI.

/Andla



Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1705

View the profile for Prowler Send Prowler a private message

Posted: 01/03/2005 06:32 am
Edit Message Delete Message Reply to this message

Hmmm. Let's start at the beginning...

Include a print statement or write to a log file - in the CGI to check that the arguments passed by the referrer variable is intact. Sometimes, it gets stripped out. If this is the case, you will have to create a workaround for this situation.


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions