<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 27/09/11 04:09, Carl Wiedemann wrote:
    <blockquote
cite="mid:CAGqH+MHQr1xdZPuLssHhmu27c5vxN8SGEoBhnjmm=yUj5XUSaQ@mail.gmail.com"
      type="cite">Assuming you are using Apache, you should instead use
      name-based virtual hosts&nbsp;<a moz-do-not-send="true"
        href="http://httpd.apache.org/docs/2.2/vhosts/">http://httpd.apache.org/docs/2.2/vhosts/</a>
      <div><br>
      </div>
      <div>That way you can have</div>
      <div>
        <br>
      </div>
      <div><a moz-do-not-send="true" href="http://demo.localhost">http://demo.localhost</a><br
          clear="all">
        <div><a moz-do-not-send="true"
            href="http://production.localhost">http://production.localhost</a></div>
        <div><br>
        </div>
        <div>and the paths will be preserved.</div>
        <div><br>
        </div>
        <font color="#333333">Carl Wiedemann</font>
        <div>
          <div><font color="#333333">Website design and development
              consulting</font></div>
          <div><font color="#333333"><a moz-do-not-send="true"
                href="mailto:carl.wiedemann@gmail.com" target="_blank">carl.wiedemann@gmail.com</a>
              | skype: c4rlww</font></div>
        </div>
        <br>
        <br>
      </div>
    </blockquote>
    <br>
    It might be I am not have misunderstood the link field type or your
    answer but would't I have to enter <a moz-do-not-send="true"
      href="http://demo.localhost">http://demo.localhost</a>/sites/all/files/mylink.html
    and this would break when I export and import the database onto
    production. What I wanted was to enter an internal link with out the
    hosthame.<br>
    <br>
    Hope this makes sense.<br>
    Iain<br>
  </body>
</html>