[racktables-users] Re: Warranty check with local.php

  • From: Killsystem <killsystem@xxxxxxxxxxxxxxxx>
  • To: <racktables-users@xxxxxxxxxxxxx>
  • Date: Thu, 27 Aug 2009 07:42:09 +0000

This seems a solution. The only problem is that you can't add Javascript
via the local.php. You have to modify the index.php.
@mat: Could you try if this solution is working for you?
Regarding the redirect from the wiki I think this has something to do with
apache url rewrites. You could try it with appending "&printable=yes".
Seems to work [1] with the "real" wikipedia well.

[1]
http://stackoverflow.com/questions/61902/iframe-wikipedia-article-without-the-wrapper

gretz Killsystem

On Wed, 26 Aug 2009 17:02:50 +0200, Troy Rose <troyjrose@xxxxxxxxx> wrote:
> Hi,
> 
> We could try some of the workarounds in this article - haven't tried any
> however, but they might work.
> http://en.wikipedia.org/wiki/Framekiller
> 
> 
> 
> 
> On Tue, Aug 25, 2009 at 4:06 PM, Mateusz Blaszczyk
> <blahu77@xxxxxxxxx>wrote:
> 
>> On Tue, Aug 25, 2009 at 12:40:49PM +0000, Killsystem wrote:
>> > Couldn't reproduce this error.
>>
>> Thanks for your time :)
>>
>> > Tried 0.17.3 and 0.17.4 and with every version all the links work like
>> > a
>> > charm.
>> > I tried IE7, Firefox 3.0.13 and Firefox 3.5.2.
>> > Could you tell me which homepage loads not in iframe? And maybe send
me
>> the
>> > sourecode of that page. Optimal try a "wget link -O error.html" and
>> > send
>> me
>> > the error.html (Don't forget to delte personal/company related data
>> before
>> > sending it)
>> >
>>
>>
>> This was the problem at least with the dell open manage service where
>> additional javascript changes the location.href variable...
>>
>> -*- snip -*-
>>
>> <HTML xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>> <head>
>> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
>> <script language="javascript">
>>                            if (window != top) {
>>                            // Load page in the top frame.
>>                            top.location.href = window.location.href
>>                            }
>>                          </script>
>> <title>Dell OpenManage </title>
>> </head>
>> <frameset framespacing="0" frameborder="no" border="0"
>> rows="19,57,30,*">
>> <frame noresize framespacing="0" frameborder="no" marginwidth="0"
>> marginheight="0" scrolling="no" name="gnv"
>> src="/servlet/GlobalNavBarServlet?login=true">
>> <frameset framespacing="0" frameborder="no" border="0" cols="165,*">
>> <frame noresize framespacing="0" frameborder="no" marginwidth="0"
>> marginheight="0" scrolling="no" name="logo" src="/servlet/ULogo">
>> <frame noresize framespacing="0" frameborder="no" marginwidth="0"
>> marginheight="0" scrolling="no" name="SystemInfo"
>> src="/servlet/USysInfo?login=true">
>> </frameset>
>> <frame noresize framespacing="0" frameborder="no" marginwidth="0"
>> marginheight="0" scrolling="no" name="snb" src="/servlet/UServerName">
>> <frame framespacing="0" frameborder="no" marginwidth="0"
>> marginheight="0" scrolling="no" name="login"
>> src="/servlet/Login?omacmd=getlogin&page=Login">
>> </frameset>
>> <noframes></noframes>
>> </HTML>
>>
>> -*- snip -*-
>>
>> Unfortunately taking the subframe url doesn't fix it as it is repeated
>> after user logs in...
>>
>>
>> Another example is mediawiki (1.11.2), where the url is changed with
HTTP
>> redirect.
>> Is there any way to keep it within the iframe?
>>
>>
>> $ wget -S  --no-check-certificate
>> https://XXXXXXXXXXXXXX/wiki/Special:Search?search=AAAAA
>> --14:54:25--  https://XXXXXXXXXXXXXX/wiki/Special:Search?search=AAAAA
>>           => `Special:Search?search=AAAAA'
>> Resolving XXXXXXXXXXXXXX... 1.1.1.1
>> Connecting to XXXXXXXXXXXXXX|1.1.1.1|:443... connected.
>> WARNING: Certificate verification error for XXXXXXXXXXXXXX: unable to
>> get local issuer certificate
>> HTTP request sent, awaiting response...
>>  HTTP/1.1 302 Found
>>  Date: Tue, 25 Aug 2009 13:53:19 GMT
>>  Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch
>> mod_ssl/2.2.8 OpenSSL/0.9.8g
>>  X-Powered-By: PHP/5.2.4-2ubuntu5.6
>>  Vary: Accept-Encoding,Cookie
>>  Expires: Thu, 01 Jan 1970 00:00:00 GMT
>>  Cache-Control: private, must-revalidate, max-age=0
>>  Location: https://XXXXXXXXXXXXXX/wiki/AAAAA
>>  Content-Length: 0
>>  Keep-Alive: timeout=15, max=100
>>  Connection: Keep-Alive
>>  Content-Type: text/html; charset=utf-8
>> Location: https://XXXXXXXXXXXXXX/wiki/AAAAA [following]
>>
>> --14:54:25--  https://XXXXXXXXXXXXXX/wiki/AAAAA
>>           => `AAAAA'
>> Reusing existing connection to XXXXXXXXXXXXXX:443.
>> etc...
>>
>>
>>
>>
>>
>> > gretz Killsystem
>> >
>>
>> Best regards,
>>
>> -mat
>>
>>
>> --
>> Mateusz Blaszczyk
>>
>> pgp-key 0x64643FCE
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkqT78gACgkQP+rXbWRkP84HEgCeMh/eyMKaTaP8HHzfuoqlu7+l
>> I48AnRcdClDorD8fpBmRPgdeqhjK5U4/
>> =gdzu
>> -----END PGP SIGNATURE-----
>>
>>

Other related posts: