Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Virtual Path and physical root

Reply
Thread Tools

Virtual Path and physical root

 
 
Guest
Posts: n/a
 
      08-02-2004
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


 
Reply With Quote
 
 
 
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      08-02-2004
Did you try:

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

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




<> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      08-02-2004
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]" <> wrote in message
news:u5%...
> Did you try:
>
> <!--#include file=m:\html\root\include.asp-->
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
>
>
> <> wrote in message
> news:...
> > 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
> >
> >

>
>



 
Reply With Quote
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      08-02-2004
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.)




<> wrote in message
news:...
> 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]" <> wrote in message
> news:u5%...
> > Did you try:
> >
> > <!--#include file=m:\html\root\include.asp-->
> >
> > --
> > http://www.aspfaq.com/
> > (Reverse address to reply.)
> >
> >
> >
> >
> > <> wrote in message
> > news:...
> > > 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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Guest
Posts: n/a
 
      08-02-2004
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]" <> wrote in message
news:unL$...
> 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.)
>
>
>
>
> <> wrote in message
> news:...
> > 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]" <> wrote in message
> > news:u5%...
> > > Did you try:
> > >
> > > <!--#include file=m:\html\root\include.asp-->
> > >
> > > --
> > > http://www.aspfaq.com/
> > > (Reverse address to reply.)
> > >
> > >
> > >
> > >
> > > <> wrote in message
> > > news:...
> > > > 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
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove virtual path from root url of dev web server? Steve Franks ASP .Net 20 12-07-2009 05:19 AM
how to find the website root physical path AAaron123 ASP .Net 11 03-30-2009 05:06 PM
How get the virtual path based on the physical path? marss ASP .Net 5 09-13-2007 04:20 PM
physical path to virtual path under virtual directory =?Utf-8?B?SmVmZiBCZWVt?= ASP .Net 4 08-01-2007 02:59 PM
Convert Physical path to Virtual path? Scott Tilton ASP General 2 07-11-2003 03:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57