Printer Friendly Version
Email this thread to a friend
|
Featured Web Site Template |
|
| Member |
Message |
andla
Joined: Aug 02, 2004
# Posts: 36
|
Posted: 12/23/2004 05:00 am
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
|
Posted: 12/23/2004 05:26 am
Forgot to set email notification.....
|
 |
Prowler
Moderator
Joined: Aug 14, 2000
# Posts: 1705
|
Posted: 12/26/2004 11:48 pm
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
|
Posted: 12/29/2004 08:30 am
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
|
Posted: 01/03/2005 06:32 am
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:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- 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
|
|