|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
Quote:
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 |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Custom Root Directory on IIS5 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|