473,605 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Will new Domain affect virtual include?


I am getting twisted by the possibility that my virtual includes which
currently work great on non-domain remote IP will crash if I purchase a
domain and point it to one of my designated folders.....Her e 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 assume that
/cats/ is the root

I can't seem to get my head around this
Jul 19 '05 #1
7 2085
virtual include will just look at the structure of the site and include in
that way. So, if yoursite/cats/forms/frm_boat.asp is a valid url, you can
virtually include it regardless of what you do, unless I'm not comprehending
what you're doing. There will be two sites?

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...

I am getting twisted by the possibility that my virtual includes which
currently work great on non-domain remote IP will crash if I purchase a
domain and point it to one of my designated folders.....Her e 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 assume that /cats/ is the root

I can't seem to get my head around this

Jul 19 '05 #2
I'm probably not explaining correctly but at the moment my virtual includes
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 domain
on this IP address my virtual includes will fall apart because they will no
longer reference from the root of the mother IP (which holds many sites) and
think the root is actually the sub-folder...

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eP******** ******@TK2MSFTN GP09.phx.gbl...
virtual include will just look at the structure of the site and include in
that way. So, if yoursite/cats/forms/frm_boat.asp is a valid url, you can
virtually include it regardless of what you do, unless I'm not comprehending what you're doing. There will be two sites?

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...

I am getting twisted by the possibility that my virtual includes which
currently work great on non-domain remote IP will crash if I purchase a
domain and point it to one of my designated folders.....Her e 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 assume

that
/cats/ is the root

I can't seem to get my head around this


Jul 19 '05 #3
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" <ja***@catamara nco.com> wrote in message
news:Os******** ******@TK2MSFTN GP10.phx.gbl...
I'm probably not explaining correctly but at the moment my virtual includes 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 domain on this IP address my virtual includes will fall apart because they will no longer reference from the root of the mother IP (which holds many sites) and think the root is actually the sub-folder...

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eP******** ******@TK2MSFTN GP09.phx.gbl...
virtual include will just look at the structure of the site and include in that way. So, if yoursite/cats/forms/frm_boat.asp is a valid url, you can virtually include it regardless of what you do, unless I'm not

comprehending
what you're doing. There will be two sites?

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...

I am getting twisted by the possibility that my virtual includes which
currently work great on non-domain remote IP will crash if I purchase a domain and point it to one of my designated folders.....Her e 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
assume that
/cats/ is the root

I can't seem to get my head around this



Jul 19 '05 #4
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:ux******** ******@TK2MSFTN GP09.phx.gbl...
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" <ja***@catamara nco.com> wrote in message
news:Os******** ******@TK2MSFTN GP10.phx.gbl...
I'm probably not explaining correctly but at the moment my virtual includes
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

domain
on this IP address my virtual includes will fall apart because they will

no
longer reference from the root of the mother IP (which holds many sites)

and
think the root is actually the sub-folder...

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:eP******** ******@TK2MSFTN GP09.phx.gbl...
virtual include will just look at the structure of the site and include in
that way. So, if yoursite/cats/forms/frm_boat.asp is a valid url, you can virtually include it regardless of what you do, unless I'm not comprehending
what you're doing. There will be two sites?

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
>
> I am getting twisted by the possibility that my virtual includes
which > currently work great on non-domain remote IP will crash if I

purchase a > domain and point it to one of my designated folders.....Her e 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 assume that
> /cats/ is the root
>
> I can't seem to get my head around this
>
>



Jul 19 '05 #5
You could do a find and replace on all your ASP pages using your favorite
text editor (which should be www.textpad.com) and replace /cats/ with /.

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:OV******** ******@tk2msftn gp13.phx.gbl...
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

Jul 19 '05 #6
That's not the problem - my problem is working out the PATH for the new FILE
includes which could go something like this:
..../../../../../forms/forma.asp

....It is really difficult to work out the PATH - is there a simple way to do
this?
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:O7******** *****@TK2MSFTNG P10.phx.gbl...
You could do a find and replace on all your ASP pages using your favorite
text editor (which should be www.textpad.com) and replace /cats/ with /.

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:OV******** ******@tk2msftn gp13.phx.gbl...
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


Jul 19 '05 #7
I know, but right now you have virtual includes. I'm saying you can keep
your virtual includes by replacing /cat/ with /. Do you ~want~ to switch to
file includes with relative physical paths like that?

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:O2******** ******@TK2MSFTN GP09.phx.gbl...
That's not the problem - my problem is working out the PATH for the new FILE includes which could go something like this:
.../../../../../forms/forma.asp

...It is really difficult to work out the PATH - is there a simple way to do this?
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:O7******** *****@TK2MSFTNG P10.phx.gbl...
You could do a find and replace on all your ASP pages using your favorite
text editor (which should be www.textpad.com) and replace /cats/ with /.

Ray at work

"jason" <ja***@catamara nco.com> wrote in message
news:OV******** ******@tk2msftn gp13.phx.gbl...
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



Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2091
by: Tyro | last post by:
I have a dedicated server with 5 virtual domains under iis. i just installed mysql. how do i create a separate instance of mysql for each of my virtual domain so that one domain affects only tables created by that domain and not step on tables of other domain? let's say that each virtual domain is a separate web site with different fqdn
1
2375
by: RavieR | last post by:
Hi all, it happen to me a strange problem: i have a mdb file (in Access 2K) with SQL Server 2K linked tables who runs on a workstation which is on a different domain that the SQL Server. It works. If i create a mdb file from a workstation which is a the domain of the SQL Server and then i run it a my non-domain workstation i have error
24
3277
by: Shao Zhang | last post by:
Hi, I am not sure if the virtual keyword for the derived classes are required given that the base class already declares it virtual. class A { public: virtual ~A();
3
1506
by: Dhruba Bandopadhyay | last post by:
In classic ASP I could write: <!-- #INCLUDE VIRTUAL="Kevin\General\ServiceClass.asp" --> and it would "include" that ASP file into the current ASP file. My web application folder was not stored in C:\Inetpub\wwwroot\ but somewhere else. But the VIRTUAL command let IIS locate files by the IIS virtual folder. Now in ASP.NET this does not work. It complains saying:
12
4972
by: sojin | last post by:
Hi all, I'm a new to c++... and I've some doubts on "virtual" topics. 1) Can abstract base class have V-table? Here's the way,, Class CTemp{
3
5300
by: rabselling | last post by:
Hello everyone, I have a domain where there in the network,140 computers working. When ever the new computer come and want to have network, i make a connection with the domain and i give every right and even creates an account for the user. But these days i have encounter a problem with the domain controller. Recently i have joined a computer in the domain and i have even given a user account to a person who use this new PC. Till date there...
0
1400
by: Vivek | last post by:
Because of the increased security concerns of the network admin, i no longer am the admin on my development machine. To work around this and have a secure environment, I have virtual pc 2004 installed on my machine (winxp), the virtual machine runs IIS under winxp (i am admin on this virtual m/c). The development machine has vs 2005 and is on a domain, the virtual machine is not on the domain. When i am logged into the dev machine with the...
5
11345
by: druberego | last post by:
I read google and tried to find the solution myself. YES I do know that you can get undefined references if you: a) forget to implement the code for a prototype/header file item, or b) you forget to pass all the necessary object files to the linker. Neither of those are my problem. Please bear with me as the question I ask is rather long and I think it's beyond a CS101 level of linker stupidity. If it is a stupid CS101 mistake I'm making...
5
3815
by: rockdale | last post by:
Hi, all: Hope somebody can solve this problem for me. We are migrating 3 asp website into IIS 6.0 on a server 2003. we do not want to create 3 website since we do not want to acquire different ports or ip for these websites. SO we create 3 virtual directory under the default website, but we got problems because the asp pages include common code in other asp files and the original developer using include virtual to include the common...
0
7938
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8430
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8078
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8298
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5892
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5452
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3914
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1279
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.