473,671 Members | 2,250 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1700
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******@nospa m.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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1272 28
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** ******@TK2MSFTN GXA01.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******@nospa m.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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1272 28
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
programmaticall y 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******@nospa m.nospam>
| References: <eV************ *@tk2msftngp13. phx.gbl>
<Hv************ **@TK2MSFTNGXA0 1.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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1274 34
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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******** ******@TK2MSFTN GXA01.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******@nospa m.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.publi c.dotnet.framew ork.aspnet
| > | NNTP-Posting-Host: m181-9.bctransit.bc. ca 199.60.181.9
| > | Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
| > | Xref: TK2MSFTNGXA01.p hx.gbl
| > microsoft.publi c.dotnet.framew ork.aspnet:1272 28
| > | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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
23366
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 believe that. in pieces of the application where speed really matters you can still use "normal" functions or even static methods which is basically the same. in C there arent the simplest things present like constants, each struct and enum...
21
12676
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 GIVE A SMALL CODE HOW CAN I ACHIEVE THAT ? which way, i have to
2
1654
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 asp.net application. the problem is that when I point it to the index page of my applications subdirectory it never finds the bin directory because it is located within the directory above. and therefore give me an appbase error. I'm not sure...
27
2147
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 working, but it fails on one test case. Here is my function:
2
2511
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 browser to the script and you're done. But to me, the simplicity is a DISadvantage since I need to index directories that are located down in the site hierarcy, and to which the users won't have direct access.
3
3318
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 (and thank goodness for the new grouping functions), but where are the functions which would really have made it useful without taxing the implementers? e.g trigonometry functions for SVG; square root /log function to do simple statistics? hex/ dec...
2
2807
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 world executable files & some world readable files . I am facing this issue on how to explain to Unix Audit Team how db2 is ensuring security even after allowing such permissions at software level . if I give 750...
2
1702
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
8390
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
8909
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...
0
8819
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8596
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
7428
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4221
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...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1801
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.