473,396 Members | 1,775 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.

Virtual Path and physical root

Is it possible to include my remote web server path eg: m:/html/root/site1
| m:/html/root/site2 etc

....in virtual includes....

Thus eliminating the need to create duplicate INC files in each sub-domain
on my remote web server host domain IP. eg: http://72.3.5.6.0
(www.site1.com; www.site2.com)

I would like to be able to use a UNIVERSAL INC file in the root of my web IP
for the benefit of all my sub domains...

Appreciate guidance!

- Jason
Jul 19 '05 #1
4 3293
Did you try:

<!--#include file=m:\html\root\include.asp-->

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:OJ**************@TK2MSFTNGP09.phx.gbl...
Is it possible to include my remote web server path eg: m:/html/root/site1
| m:/html/root/site2 etc

...in virtual includes....

Thus eliminating the need to create duplicate INC files in each sub-domain
on my remote web server host domain IP. eg: http://72.3.5.6.0
(www.site1.com; www.site2.com)

I would like to be able to use a UNIVERSAL INC file in the root of my web IP for the benefit of all my sub domains...

Appreciate guidance!

- Jason

Jul 19 '05 #2
I tried it locally eg ="c\inetpub..." but got "page not found"......I am
just trying to confirm whether one can actually use a phycial path in a
virtual include..

- Jason
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:u5****************@TK2MSFTNGP11.phx.gbl...
Did you try:

<!--#include file=m:\html\root\include.asp-->

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:OJ**************@TK2MSFTNGP09.phx.gbl...
Is it possible to include my remote web server path eg: m:/html/root/site1 | m:/html/root/site2 etc

...in virtual includes....

Thus eliminating the need to create duplicate INC files in each sub-domain on my remote web server host domain IP. eg: http://72.3.5.6.0
(www.site1.com; www.site2.com)

I would like to be able to use a UNIVERSAL INC file in the root of my
web IP
for the benefit of all my sub domains...

Appreciate guidance!

- Jason


Jul 19 '05 #3
I've never used a local file path in a virtual include call. An #include
file is usually local, an #include virtual usually means relative (e.g. to
the root), which kind of precludes sticking a drive letter in front of it.

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
I tried it locally eg ="c\inetpub..." but got "page not found"......I am
just trying to confirm whether one can actually use a phycial path in a
virtual include..

- Jason
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:u5****************@TK2MSFTNGP11.phx.gbl...
Did you try:

<!--#include file=m:\html\root\include.asp-->

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:OJ**************@TK2MSFTNGP09.phx.gbl...
Is it possible to include my remote web server path eg: m:/html/root/site1 | m:/html/root/site2 etc

...in virtual includes....

Thus eliminating the need to create duplicate INC files in each sub-domain on my remote web server host domain IP. eg: http://72.3.5.6.0
(www.site1.com; www.site2.com)

I would like to be able to use a UNIVERSAL INC file in the root of my

web
IP
for the benefit of all my sub domains...

Appreciate guidance!

- Jason



Jul 19 '05 #4
Right.

Aaron, could you offer advice on a login system that is a pinch point for
all my sub-domains on a remote IP (remote web host:)

IP: HTTP://69.9.3

Sub-domain 1: www.site1.com
Sub-domain 2: www.site2.com

I wish to create a login system that sits in the root of the IP and enables
all my sub-webs to feed off it and its underlying database:

Logon: IP: HTTP://69.9.3/Logon.asp
Register: HTTP://69.9.3/Register.asp
My confusion is related in how to 'share' the common elements:

1. Database path:
2. Common inlcudes
3. Capture User Page selections:

a. TargetURL
B.FromURL

....when he logs onto the secure page.

I could use IP, but Curt has pointed out that providers like AOL use dynamic
DHCL which means all their users have the same address.

I could use session variables but then I only get his User Page Requestes
for the first secure page he logs onto

Do you have any advice on a logon system that allows me to secure basic .ASP
pages and capture their Target and From Urls?

Much appreciated
Jason

"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:un**************@tk2msftngp13.phx.gbl...
I've never used a local file path in a virtual include call. An #include
file is usually local, an #include virtual usually means relative (e.g. to
the root), which kind of precludes sticking a drive letter in front of it.

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:ew**************@TK2MSFTNGP09.phx.gbl...
I tried it locally eg ="c\inetpub..." but got "page not found"......I am
just trying to confirm whether one can actually use a phycial path in a
virtual include..

- Jason
"Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message
news:u5****************@TK2MSFTNGP11.phx.gbl...
Did you try:

<!--#include file=m:\html\root\include.asp-->

--
http://www.aspfaq.com/
(Reverse address to reply.)


<ja***@catamaranco.com> wrote in message
news:OJ**************@TK2MSFTNGP09.phx.gbl...
> Is it possible to include my remote web server path eg:

m:/html/root/site1
> | m:/html/root/site2 etc
>
> ...in virtual includes....
>
> Thus eliminating the need to create duplicate INC files in each

sub-domain
> on my remote web server host domain IP. eg: http://72.3.5.6.0
> (www.site1.com; www.site2.com)
>
> I would like to be able to use a UNIVERSAL INC file in the root of
my web
IP
> for the benefit of all my sub domains...
>
> Appreciate guidance!
>
> - Jason
>
>



Jul 19 '05 #5

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

Similar topics

2
by: Jacky Luk | last post by:
Hi all, If I need to make a C# application, do I need to set up a virtual dir such as inetroot on the Harddisks. How do I set up such thingy? Thanks Jack
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
16
by: B Letts | last post by:
Hi - I'm currently using the FileUpload control to allow people to upload files to my website. This all works fine, as long as I'm going to a physical path on my server. However, I need to...
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...
14
by: Lorenzo | last post by:
Hello, I have a web application with a virtual directory in it. With 'virtual directory' i mean a folder whose physical path is different from the physical path of the application, but in which...
4
by: Chuck P | last post by:
Using vs05 and making an asp.net 2.0 website. We use VSS and have everything organized like this SolutionName Documents Code WebProjectName1 WebServiceProjectName1
2
by: Lucky | last post by:
Hi guys, Again asking Question regarding Virtual Directories. now i've got the Virtual Directories list with the help of Michael. the code is used to get the virtual directory is ...
1
by: gujarsachin2001 | last post by:
Hello friends, I have one folder Named as MainFolder on server. I have one more folder named as subfolder inside tht main folder.Now I want to save some pictures in tht folder but at runtime I m...
6
by: ManagedCoder | last post by:
Hi, My requirement is as follows: I need to set the HttpExpires (enable content expiration - set to 7 days) on a folder within a virtual directory. I have been able to set the HttpExpires...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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...
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.