Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 2nd, 2006, 09:43 AM
neall24 neall24 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 neall24 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 3 sec
Reputation Power: 0
Custom Root Directory on IIS5

Hi,

I’m in the process of creating an intranet for my company which will be served from a Windows 2000 Professional Server running IIS5.

As part of this intranet I have opted to use a menu system on the site called Milonic. This menu system requires me to specify file paths for each of the pages which are to be featured on the menu. This can be done by specifying the absolute path in the code. This is not very elegant or maintenance friendly.

I would therefore prefer to use relative paths. According to the milonic forums (the people who developed the menu system) I should be able to use relative paths e.g. /foldername/filename.htm however IIS interprets / to mean the root directory of the IIS installation and not the root of the site I am creating (these are two different directories entirely).

I’ve tried to make use of <base> tags within the HTML code however the milonic menu system is mostly written using JavaScript where (to my knowledge) base tags don’t appear to work.

My question is, how do I configure IIS so that / is interpreted as the root of the intranet site and not as the root of the IIS installation?

Sorry for the long winded explanation and thanks in advance for your reply (ies).

Many thanks

Reply With Quote
  #2  
Old October 2nd, 2006, 11:05 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 29 m 58 sec
Reputation Power: 181
Quote:
My question is, how do I configure IIS so that / is interpreted as the root of the intranet site and not as the root of the IIS installation?

This makes no sense. Just put the intranet site in the IIS root virtual directory. / will always refer to the web root.

You might be able to fake it with an intelligent redirect in the root default document, i.e., with asp you can redirect the user based on the url used by the user to access the server.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Custom Root Directory on IIS5


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT