473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.....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 assume that
/cats/ is the root

I can't seem to get my head around this
Jul 19 '05 #1
7 2067
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***@catamaranco.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

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.....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 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**************@TK2MSFTNGP09.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***@catamaranco.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

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.....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 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***@catamaranco.com> wrote in message
news:Os**************@TK2MSFTNGP10.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**************@TK2MSFTNGP09.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***@catamaranco.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...

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.....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
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**************@TK2MSFTNGP09.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***@catamaranco.com> wrote in message
news:Os**************@TK2MSFTNGP10.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**************@TK2MSFTNGP09.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***@catamaranco.com> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
>
> 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.....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 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***@catamaranco.com> wrote in message
news:OV**************@tk2msftngp13.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*************@TK2MSFTNGP10.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***@catamaranco.com> wrote in message
news:OV**************@tk2msftngp13.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***@catamaranco.com> wrote in message
news:O2**************@TK2MSFTNGP09.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*************@TK2MSFTNGP10.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***@catamaranco.com> wrote in message
news:OV**************@tk2msftngp13.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
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...
1
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...
24
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
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...
12
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
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...
0
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 ...
5
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...
5
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.