Umm,
something like this:
<!--#if expr="${DOCUMENT_URI} = /section/uk orientated/" -->
<!--#set var="FORM_VALUE" value="link to uk site" -->
<!--#else -->
<!--#set var="FORM_VALUE" value="standard link " -->
<!--#endif -->
and call the FORM_VALUE in your <head> tag as well to set the value for each
page......
<!--#include virtual="../folder name/form value else if file name.shtml" -->
well it seems to me that as you are already set up for SSi that is a
convenient way to do it...
www.WellingtonLive.co.nz
----- Original Message -----
From: "Abigail Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 8:42 PM
Subject: [wdvltalk] Redirecting page based on referer
: My question: Is apache mod_rewrite or use of a conditional
: SSI more efficient for a redirect based on httpd referer?
:
: Problem:
:
: I have a standardized menu bar throughout my web site.
:
: There is a link to a form for requesting free written
: materials (to be sent via snail mail).
:
: I want to set up multiple forms, and have this link resolve
: to different pages depending on the location of the site
: where the user clicks on the menu.
:
: In other words, if they are on the main site
: (www.domain.com), and click the
: "send materials" link, I want them to go to the main form.
:
: But if they are on the sections of the site geared to the
: UK, (uk.domain.com) then I want them to go to the form for
: the UK.
:
: All pages on the site are parsed for SSI (this is what
: enables the consistent menu bar).
:
: Mod_rewrite is not currently enabled on the site, although
: of course I can enable it. (I just thought that the fact
: that I am running SSI anyway might figure into the question
: of efficiency).
:
: Anyway, just looking for thoughts and input as to how to
: best solve the problem.
:
: [Yes, I did figure out that the menu bar can simply lead to a page with
: two links: _____UK /_____ Everwhere Else, but I thought I'd
: try doing something a little more elegant to eliminate the
: amount of clicking needed]
:
: -Abigail
:
:
: ____ . The WDVL Discussion List from WDVL.COM . ____
: To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
: Send Your Posts To: [EMAIL PROTECTED]
: To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email.
: To change subscription settings to the wdvltalk digest version:
: http://wdvl.internet.com/WDVL/Forum/#sub
:
: ________________ http://www.wdvl.com _______________________
:
: You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
: To unsubscribe send a blank email to %%email.unsub%%
:
:
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]