Gentoo Archives: gentoo-user

From: Tim Igoe <tim@×××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - ORT invisible
Date: Sun, 06 Nov 2005 18:11:29
Message-Id: 436E465C.3020202@igoe.me.uk
In Reply to: [gentoo-user] OT - ORT invisible by Antoine
1 Antoine wrote:
2 > Hi,
3 > I am trying to set up a website for my father and wanted to use a free
4 > hosting service here in France (1 gig space + php + mysql, no ads - so
5 > not to be sniffed at!). I have got myself a domain name (for me not him,
6 > but it is just for testing...) and am trying to work out whether it is
7 > possible to make it so that the user doesn't see the fact that it is on
8 > a free host. I am using the redirection provided by my dns service to
9 > point to a directory on the free site
10 > (http://antonovich.free.fr/DerekMelser). When I put the url
11 > http://www.antonmelser.org into the url bar it does indeed take me
12 > there... but clicking on the links on the page keeps the same thing
13 > there (eg, the link
14 > http://antonovich.free.fr/DerekMelser/journal/recent.html), which means
15 > still http://www.antonmelser.org. That would be OK but unfortunately
16 > even when I click on a link to an external site the
17 > http://www.antonmelser.org stays there... not so nice! I get the same
18 > with firefox and konqueror and even IE on doze - so it looks more like a
19 > feature than a bug - can someone enlighten me on this?
20 > Cheers
21 > Antoine
22
23 Your links going external are still opening within the frame. The
24 redirection will be setting a full page frame and then load the free
25 host within that frame.
26
27 For your external links to show with the correct url you will need to
28 jump out of hte frame - so setting a target of _top should do that :)
29
30 Thus, <a href="http://www.someexternalurl.com" target="_top">Go
31 Elsewhere</a>
32
33 --
34 Tim Igoe
35 tim@×××××××.uk
36 http://tim.igoe.me.uk - Personal Site
37 http://tv.igoe.me.uk - UK TV Guide
38
39 "Computers are like Air-con, open windows and they stop working!"

Attachments

File name MIME type
signature.asc application/pgp-signature