On 27/09/11 04:09, Carl Wiedemann wrote:
Assuming you are using Apache, you should instead use name-based virtual hosts http://httpd.apache.org/docs/2.2/vhosts/

That way you can have

http://demo.localhost
http://production.localhost

and the paths will be preserved.

Carl Wiedemann
Website design and development consulting
carl.wiedemann@gmail.com | skype: c4rlww



It might be I am not have misunderstood the link field type or your answer but would't I have to enter http://demo.localhost/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.

Hope this makes sense.
Iain