Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS Applications & Root Sites

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  perl reading local files  
Author Message
ofer

External


Since: Jan 08, 2004
Posts: 6



(Msg. 1) Posted: Sun Jan 11, 2004 11:17 am
Post subject: IIS Applications & Root Sites
Archived from groups: microsoft>public>inetserver>iis (more info?)

There's a mystery I can't understand:

In IIS, there is Default Web Site.
Microsoft expects (in InterDev and VS.NET) that any application I create
will reside under the Default Web Site, that is: http://localhost/something,
and doesn't let me create a different ROOT web site (which will be assigned
a different port and will be at the same level as Default Web Site).

The effect is that all across my application (web site) I won't be able to
refer to the root of the site by just slash - "/". I must refer to something
like "/something/default.aspx".

On the other hand, when my site will be depolyed on a live server, it will
be (I believe it should...) a root web site and not a subfolder that is
simply conifgured as an application, so all my references to
"/something/default.aspx" will be wrong - because in the server, the
reference should be only "/default.aspx".

Another view of the same problem: In classic ASP, I have an Includes folder
in which I have a file called Template.asp which holds (how surprising) the
top and down template and is referenced by all other ASPs in <!--
Include --> directive. I also have an Images folder which holds all the
images.
The problem is that this template is included by many ASPs - some of them
are in the root folder, some of them are in subfolders. So when I want to
refer to some image, if I'll type "images/ball.gif" it will work only in
ASPs which reside in the root folder - if they reside under a subfolder, the
reference will be wrong. The ideal is to type "/images/ball.gif" - but a-ha!
If I have to follow Microsoft's rules, this would be wrong, because the root
according to Microsoft (Interdev/VS.NET) should be "http://something/"...

What's the best to do? How can I overcome this conflict?

Thanks

 >> Stay informed about: IIS Applications & Root Sites 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Mon Jan 12, 2004 12:38 pm
Post subject: Re: IIS Applications & Root Sites [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Ofer" <ofer.TakeThisOut@pixiesoft.com> wrote in message
news:OYC5YqA2DHA.1184@TK2MSFTNGP10.phx.gbl...
 > There's a mystery I can't understand:

Responded to in an earlier thread ...

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS Applications & Root Sites 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]