473,395 Members | 1,437 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,395 software developers and data experts.

how do I point the root to be a sub web

Hi,

I have an asp.net web application (www.myWebSite), and a subweb application
(www.myWebSite/subSite).

How do I set it so that, subweb application (www.myWebSite/subSite) be the
root application.....
so that, when a user types www.myWebSite/subSite, it actualy, shows pages
off subweb.

any help is much appreciated.....

Thanks
Nalaka

Nov 19 '05 #1
3 1681
Hi Nalaka,

Welcome to ASPNET newsgroup.
From your description, you have a certain asp.net web application which is
deployed under a sub virtual dir under the webserver's default site. And
you're wondering how to make your subsite be accessible through your root
site's url?

If so, I'm wondering how do you distinguish the content in your subweb
folder and your root webfolder(under site root)? Generally, if we're
wantting our web application be configured as a certain website's root, we
can point our site's root home directory to that web application's physical
dir. That means our web application's folde become the site root's physical
dir. What's your detailed site structure currently? Is it ok that you
directly put your web application's pages and components under the site
root?

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Nalaka" <na******@nospam.nospam>
| Subject: how do I point the root to be a sub web
| Date: Mon, 26 Sep 2005 14:07:49 -0700
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <eV*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127228
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| I have an asp.net web application (www.myWebSite), and a subweb
application
| (www.myWebSite/subSite).
|
| How do I set it so that, subweb application (www.myWebSite/subSite) be
the
| root application.....
| so that, when a user types www.myWebSite/subSite, it actualy, shows pages
| off subweb.
|
| any help is much appreciated.....
|
| Thanks
| Nalaka
|
|
|
|

Nov 19 '05 #2
Hi Steven,

What I have is a test system of various environments as subwebs of root.
I need the ability to switch between these frequently, so, user does not
know the difference.

Plus... it is easier to treat all webs as subwebs...
If not, root can see all the subweb folders and is confucing when coping
files up and down.

We just want one mechanism to manage code too......

So, if there is a configuration file to redeirect to a given subweb (when
calling root), would be the best

I am on a asp 2.0 site.
Thanks
Nalaka

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:Hv**************@TK2MSFTNGXA01.phx.gbl...
Hi Nalaka,

Welcome to ASPNET newsgroup.
From your description, you have a certain asp.net web application which is
deployed under a sub virtual dir under the webserver's default site. And
you're wondering how to make your subsite be accessible through your root
site's url?

If so, I'm wondering how do you distinguish the content in your subweb
folder and your root webfolder(under site root)? Generally, if we're
wantting our web application be configured as a certain website's root, we
can point our site's root home directory to that web application's
physical
dir. That means our web application's folde become the site root's
physical
dir. What's your detailed site structure currently? Is it ok that you
directly put your web application's pages and components under the site
root?

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Nalaka" <na******@nospam.nospam>
| Subject: how do I point the root to be a sub web
| Date: Mon, 26 Sep 2005 14:07:49 -0700
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <eV*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127228
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
|
| I have an asp.net web application (www.myWebSite), and a subweb
application
| (www.myWebSite/subSite).
|
| How do I set it so that, subweb application (www.myWebSite/subSite) be
the
| root application.....
| so that, when a user types www.myWebSite/subSite, it actualy, shows
pages
| off subweb.
|
| any help is much appreciated.....
|
| Thanks
| Nalaka
|
|
|
|

Nov 19 '05 #3
Hi Nalaka,

Thanks for your followup.
So you current requirement is buiding a test sytem for running ASP.NET web
applications under IIS default site(root), and could easily swtich the site
root application between many existing application folders, yes?

If you need to use the IIS to host the ASP.NET application for testing, I'm
afraid the only means I've considered is make a simple utility which can
programmatically change the IIS default site's home directory (through ADSI
object model), so that when you want to configure a certain sub folder as
the root application, just change the IIS's site's home directory to that
folder's physical path.

Also, I'm not sure whether you've ever use the .NET managed asp;.net
webserver cassini simple server:

http://www.asp.net/Projects/Cassini/...ndex=0&tabid=1

this is a purely .net based simple webserver which can host asp.net web
application without IIS. If your test scenario is not very complex( doesn't
require IIS's powerful HTTP implementation or authentication support), you
can consider use the Cassini server to test your web application, it can
start listening on a specific local port and specify a certain physical
path as the web application root.

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "Nalaka" <na******@nospam.nospam>
| References: <eV*************@tk2msftngp13.phx.gbl>
<Hv**************@TK2MSFTNGXA01.phx.gbl>
| Subject: Re: how do I point the root to be a sub web
| Date: Tue, 27 Sep 2005 08:30:56 -0700
| Lines: 101
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| Message-ID: <ex**************@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:127434
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi Steven,
|
| What I have is a test system of various environments as subwebs of root.
| I need the ability to switch between these frequently, so, user does not
| know the difference.
|
| Plus... it is easier to treat all webs as subwebs...
| If not, root can see all the subweb folders and is confucing when coping
| files up and down.
|
| We just want one mechanism to manage code too......
|
| So, if there is a configuration file to redeirect to a given subweb (when
| calling root), would be the best
|
| I am on a asp 2.0 site.
|
|
| Thanks
| Nalaka
|
|
|
|
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:Hv**************@TK2MSFTNGXA01.phx.gbl...
| > Hi Nalaka,
| >
| > Welcome to ASPNET newsgroup.
| > From your description, you have a certain asp.net web application which
is
| > deployed under a sub virtual dir under the webserver's default site. And
| > you're wondering how to make your subsite be accessible through your
root
| > site's url?
| >
| > If so, I'm wondering how do you distinguish the content in your subweb
| > folder and your root webfolder(under site root)? Generally, if we're
| > wantting our web application be configured as a certain website's root,
we
| > can point our site's root home directory to that web application's
| > physical
| > dir. That means our web application's folde become the site root's
| > physical
| > dir. What's your detailed site structure currently? Is it ok that you
| > directly put your web application's pages and components under the site
| > root?
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| >
| > --------------------
| > | From: "Nalaka" <na******@nospam.nospam>
| > | Subject: how do I point the root to be a sub web
| > | Date: Mon, 26 Sep 2005 14:07:49 -0700
| > | Lines: 17
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | Message-ID: <eV*************@tk2msftngp13.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| > | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| > | Xref: TK2MSFTNGXA01.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:127228
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Hi,
| > |
| > | I have an asp.net web application (www.myWebSite), and a subweb
| > application
| > | (www.myWebSite/subSite).
| > |
| > | How do I set it so that, subweb application (www.myWebSite/subSite) be
| > the
| > | root application.....
| > | so that, when a user types www.myWebSite/subSite, it actualy, shows
| > pages
| > | off subweb.
| > |
| > | any help is much appreciated.....
| > |
| > | Thanks
| > | Nalaka
| > |
| > |
| > |
| > |
| >
|
|
|

Nov 19 '05 #4

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

Similar topics

687
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
21
by: syntax | last post by:
hi, i need to get high presion float numbers. say, i need pi = 22/7.0 = 3.142857....(upto 80 digits) is it possible ? does gcc/g++ compiler can give such type of high precision?? plz...
2
by: | last post by:
Hello, I have an ASP.Net c# web application which contains 4 separate folders, each of these folders contains a default.aspx page, I am pointing several domains to different sections of this...
27
by: G Patel | last post by:
Hello, I'm having trouble with floating point problems. I'm trying to write a function that calculates the distance between two cartesian points (integer coordinates). I have the function...
2
by: Danny Boy | last post by:
Hi, "Snif" is an excellent little script to index files and directories. It's just one single file, and the advantage is that you merely drop it into the directory you want to index, point a...
3
by: shaun roe | last post by:
mild rant follows Working now for a couple of years with xslt and now xslt 2.0, does anyone else get the impression that xslt 2.0 somehow missed the point? Yes its got a fancy new data model...
2
by: shiva359 | last post by:
Hi , could someone throw some light on why do default software when installed ( as root for creating an instance leaves us with some world accessable directories & some ...
2
by: Danny Ni | last post by:
Hi, Is the ~ sign supposed to point to the application root in the following tag? <asp:Image runat="server" ImageUrl="~/images/logo.gif" /> It render as <img src="/images/logo.gif" ....>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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...

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.