title: Is there an easier way to do Classic ASP "relative path"?
body: <p>Right now, I'm having trouble.
  First of all I have a page, let's call it "http://blah.com/login".</p>
  
  <p>That obviously goes strait to "index.asp"</p>
  
  <p>A line of Main.asp:</p>
  
  <pre><code>&lt;!--#include file="resource/menu.asp"--&gt;
  </code></pre>
  
  <p>Page top includes all of what I need for my menu... so:</p>
  
  <p>Part of resource/menu.htm:</p>
  
  <pre><code>&lt;div id="colortab" class="ddcolortabs"&gt;
  &lt;ul&gt;
  &lt;li&gt;&lt;a href="main.asp" title="Main" rel="dropmain"&gt;&lt;span&gt;Main&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;/ul&gt;
  &lt;/div&gt;
  &lt;!--Main drop down menu --&gt;
  &lt;div id="dropmain" class="dropmenudiv_a"&gt;
  &lt;a href="main/announcements.asp"&gt;Announcements&lt;/a&gt;
  &lt;a href="main/contacts.asp"&gt;Contact Information&lt;/a&gt;
  &lt;a href="main/MeetingPlans.asp"&gt;Meeting Plan&lt;/a&gt;
  &lt;a href="main/photos.asp"&gt;Photo Gallery&lt;/a&gt;
  &lt;a href="main/events.asp"&gt;Upcoming Events&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Let's say I click on the "announcements" (http://blah.com/login/main/announcements.asp) link... Now I'm at the announcements page!
  But wait, I include the same menu file. Guess what happens:
  I get sent to "http://blah.com/login/main/main/announcements.asp
  Which doesn't exist...</p>
  
  <p>My solution:
  Make a menu_sub.asp include for any subpages.
  But wait a second... this WORKS, but it gets REALLY REALLY messy... What can I do to use just one main "menu.asp" instead of "menu_sub.asp"? using "/main/announcements.asp" WON'T be an option because this is a web application that will be on different directories per server. </p>