Link to home
Start Free TrialLog in
Avatar of splanton
splantonFlag for United Kingdom of Great Britain and Northern Ireland

asked on

IIs 6 Parent paths - going beyond root

I have a server 2003 box running IIS6.
I have enabled parent paths.

I have the following path on the server with some css styles I want to share between websites:
D:\inetpub\wwwroot\quality1st\css

One website site root is located at:
D:\inetpub\wwwroot\quality1st\head\www

Another site root is located at:
D:\inetpub\wwwroot\quality1st\branch\www

An example include from one of my forms held at either of the two root looks like this:
<link href="../../css/qualityfirst.css" rel="stylesheet" type="text/css"/>

Testing on my development machine (win 7 IIS7) using localhost works fine - on the server it doesn't error but it is not loading the css from 'above' the site root.
ASKER CERTIFIED SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of splanton

ASKER

Great answer. Virtual paths - of course!