<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 27/09/2011 10:23 a.m., Carl Wiedemann wrote:
<blockquote
cite="mid:CAGqH+ME97TDB0iaX7Cdrqfdo3F2eZ3cRcZj_2FeCxQJDdCLEeQ@mail.gmail.com"
type="cite">If you setup the virtual hosts, all your paths are
identical regardless of the domain. Link field should be able to
handle this just fine.<br clear="all">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
Thanks Carl still struggling<br>
<br>
In the link field it expects a URL e.g.<br>
<br>
<a class="moz-txt-link-freetext" href="http://demo.localhost/fred.html">http://demo.localhost/fred.html</a><br>
<br>
Are you saying the protocol and host are ignored by drupal?<br>
<br>
If they are not then I cannot see how this solves my problem and it
is probably my lack of apache knowledge.<br>
<br>
I currently have two virtual site<br>
<br>
<a class="moz-txt-link-freetext" href="http://myIP1/">http://myIP1/</a><br>
<a class="moz-txt-link-freetext" href="http://myIP2/">http://myIP2/</a><br>
<br>
I want to put in a link field into a content type to point to the
document fred.html<br>
<br>
If I enter<br>
<br>
fred.html <br>
<br>
in the link field create content for the content type the link goes
to<br>
<br>
<a class="moz-txt-link-freetext" href="http://myIP1/?q=fred.html">http://myIP1/?q=fred.html</a> on one box <br>
<a class="moz-txt-link-freetext" href="http://myIP2/?q=fred.html">http://myIP2/?q=fred.html</a> on the other box <br>
<br>
Which of course fail because I want no ?q= in the link. What I want
is<br>
<br>
<a class="moz-txt-link-freetext" href="http://myIP1/fred.html">http://myIP1/fred.html</a> on one box <br>
<a class="moz-txt-link-freetext" href="http://myIP2/fred.html">http://myIP2/fred.html</a> on the other box <br>
<br>
Are you say if I enter the server in the link this will
automatically be removed?<br>
<br>
I.e. if I don't enter fred.html but instead enter
<a class="moz-txt-link-freetext" href="http://myIP1/fred.html">http://myIP1/fred.html</a> it will work on <a class="moz-txt-link-freetext" href="http://myIP2">http://myIP2</a>? When exported
and imported into the second site?<br>
<br>
Thanks for your patience<br>
<br>
Iain<br>
<br>
</body>
</html>