Bingo!

I had to use http_host instead of path_info, but it appears to be
working.

Many thanks

>>> [EMAIL PROTECTED] 15/10/2003 2:30:01 pm >>>
D:\Websites\Home\application.cfm

D:\Websites\intranet\application.cfm


IN

D:\Websites\Intranet\PhoneList\application.cfm

<cfif find("home",cgi.path_info)>
    <cfinclude template="../../Home/application.cfm">
<cfelse>
    <cfinclude template="../application.cfm">
</cfif>

this assumes home is in the path_info. so you are effectively grafting
on
the virtual directory to the real directory for cf purposes.




"Antony Sideropoulos" <[EMAIL PROTECTED]> wrote in
message
news:[EMAIL PROTECTED]
>
> Hi everyone
>
> I have an IIS6 webserver, with two websites on it:
>
> D:\Websites\Home\
>
> and
>
> D:\Websites\Intranet\
>
> I have some pages in the Intranet site that I want to serve up via
the
> Home site, and I have set up Virtual Folders in IIS to do this:
>
> D:\Websites\Home\PhoneList points to D:\Websites\Intranet\PhoneList
>
> Obviously my intention is to avoid having two copies of the one
page,
> requiring two sets of updates and maintenance.
>
> When a user logs in to the Home Site, a Client variable is set:
>
> eg <CFSET Client.User = "ACS">
>
> This Client Variable does not appear to be accessible by the CFM
> template in the Virtual Folder:
>
> Element USER is undefined in CLIENT.
>
> The rest of the page is fine (it just outputs the results of an LDAP
> query - very basic), but I am unable to access the Client.User
> variable.
>
> I'm using a database for the Client Store, clientmanagement is
turned
> on in the Application.cfm on the Home site, and I don't know why
this
> isn't working.
>
> Any ideas?
>
> Thanks
>
> Antony
>
>
>
>
>
>
----------------------------------------------------------------------
> Maddocks
> Melbourne - Tel: (61 3) 9288 0555  Fax: (61 3) 9288 0666
> Sydney - Tel: (61 2) 8223 4100  Fax: (61 2) 9221 0872
> Web: http://www.maddocks.com.au 
>
----------------------------------------------------------------------
> The information in this electronic mail is privileged
> and confidential, intended only for use of the individual
> or entity named.  If you are not the intended recipient,
> any dissemination, copying or use of the information is
> strictly prohibited.  If you have received this transmission
> in error please delete it immediately from your system
> and inform us by email on [EMAIL PROTECTED]
>
----------------------------------------------------------------------
>
>
>



---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED] 
To unsubscribe send a blank email to
[EMAIL PROTECTED] 

MX Downunder AsiaPac DevCon - http://mxdu.com/

----------------------------------------------------------------------
Maddocks
Melbourne - Tel: (61 3) 9288 0555  Fax: (61 3) 9288 0666   
Sydney - Tel: (61 2) 8223 4100  Fax: (61 2) 9221 0872
Web: http://www.maddocks.com.au 
----------------------------------------------------------------------
The information in this electronic mail is privileged
and confidential, intended only for use of the individual
or entity named.  If you are not the intended recipient,
any dissemination, copying or use of the information is
strictly prohibited.  If you have received this transmission
in error please delete it immediately from your system
and inform us by email on [EMAIL PROTECTED]
----------------------------------------------------------------------


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to