Gentoo Archives: gentoo-user

From: Jim <Jim@×××××××××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Apache (paths not showing in url)
Date: Sun, 12 Mar 2006 15:24:57
Message-Id: 44143B22.7010805@keeliegirl.dyndns.org
In Reply to: Re: [gentoo-user] Apache (paths not showing in url) by Tito Valentin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 157182712 Tito Valentin <tito@×××××××.com> wrote:
5 > Hans,
6 >
7 > It is showing a framset in my page when I view page source. How would I
8 > be able to correct this? If I hit the test site I can see all the paths
9 > but when I host it live I CANNOT see the paths in the url.
10 > Hans-Werner Hilse wrote:
11
12 Just put a frame break in your main page that you don't want to be in a
13 frame. Here is an example script:
14
15 <script language="javascript" type="text/javascript">
16 /* ====================================================== *
17 ': This forces the current document to the top of any
18 ': frames.
19 ': You MUST either remove it or comment it out if you
20 ': want the page to be frameable in browsers supporting
21 ': scripting.
22 '* ====================================================== */
23 if (top.location != self.location)
24 {
25 top.location.replace(self.location); // pop to top
26 }
27 </script>
28
29
30 Jim
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v1.4.2.2 (GNU/Linux)
33 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
34
35 iD8DBQFEFDsheqJ5Vbm4CxYRAlctAJ4lpChgD+3GqsA3toEVJ3FcnvicVwCeNasE
36 GiNEzODFxCwEhHAvFYawbB4=
37 =OC+n
38 -----END PGP SIGNATURE-----
39 --
40 gentoo-user@g.o mailing list