Damn! This is soooo tricky to do if you are deep in the folder structure -
in fact its a nightmare to use relative paths - I suppose I could use the IP
address in the virtual include to stop the include failing....
How do you normally work out relative FILE paths if you are deep inside the
folder structure?
Thanks
Jason
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:uxbttURXDHA.2524@TK2MSFTNGP09.phx.gbl...[color=blue]
> I think I understand. So, just speaking of normal pages, a page that is
> currently:
>
>
http://69.9.9.9/subdir/page.asp
> will become
>
http://yourdomain.com/page.asp
>
> If so, the virtual includes will fail. If you were to switch to file
> includes, you'd be okay.
>
> Ray at work
>
> "jason" <jason@catamaranco.com> wrote in message
> news:Os7$AMRXDHA.2256@TK2MSFTNGP10.phx.gbl...[color=green]
> > I'm probably not explaining correctly but at the moment my virtual[/color]
> includes[color=green]
> > in a sub folder on a current IP (69.9.9..9) works...
> >
> > But I am concerned that when I make one of my sub-folders LIVE with a[/color]
> domain[color=green]
> > on this IP address my virtual includes will fall apart because they will[/color]
> no[color=green]
> > longer reference from the root of the mother IP (which holds many sites)[/color]
> and[color=green]
> > think the root is actually the sub-folder...
> >
> > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> > news:ePGhUwQXDHA.2484@TK2MSFTNGP09.phx.gbl...[color=darkred]
> > > virtual include will just look at the structure of the site and[/color][/color][/color]
include[color=blue]
> in[color=green][color=darkred]
> > > that way. So, if yoursite/cats/forms/frm_boat.asp is a valid url, you[/color][/color]
> can[color=green][color=darkred]
> > > virtually include it regardless of what you do, unless I'm not[/color]
> > comprehending[color=darkred]
> > > what you're doing. There will be two sites?
> > >
> > > Ray at work
> > >
> > > "jason" <jason@catamaranco.com> wrote in message
> > > news:%23nj%23grQXDHA.2568@tk2msftngp13.phx.gbl...
> > > >
> > > > I am getting twisted by the possibility that my virtual includes[/color][/color][/color]
which[color=blue][color=green][color=darkred]
> > > > currently work great on non-domain remote IP will crash if I[/color][/color][/color]
purchase[color=blue]
> a[color=green][color=darkred]
> > > > domain and point it to one of my designated folders.....Here is the
> > > scenario
> > > > and question::
> > > >
> > > > If my remote webhost at (eg):
> > > >
> > > >
http://69.8.9.9
> > > >
> > > > ...has a subfolder with with:
> > > >
> > > > cats/index.asp
> > > >
> > > > ...which consumes VIRTUAL INCLUDE:
> > > >
> > > > <!--#includes virtual="/cats/forms/frm_boat.asp"-->
> > > >
> > > >
> > > > ...If I then point the domain:
www.cats.com to the subfolder:
> > > >
http://69.8.9.9/cats/ondex.asp
> > > >
> > > > * ...will my VIRTUAL FILE STILL WORK?? *
> > > >
> > > > OR
> > > >
> > > > ...will it no longer assume that
http://69.8.9.9 is the root and[/color][/color]
> assume[color=green][color=darkred]
> > > that
> > > > /cats/ is the root
> > > >
> > > > I can't seem to get my head around this
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]