[opensuse] Apache2 10.3 - 11.0 website displays differently?
Listmates, I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0. Specifically, all of the element sizes (fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See: 10.3 server (~170k) http://www.3111skyline.com/download/screenshots/webdev/3111skyline-nemesis.j... 11.0 server (~170k) http://www.3111skyline.com/download/screenshots/webdev/3111skyline-ecstasy.j... I also host the site on my 11.0 laptop for development work and it displays just like the 11.0 server above. All of the config files (default-server.conf, httpd.conf, httpd.conf.local) for each of the servers is identical and all of the pages on the servers are also identical. Can anyone think of anything in the apache2 configs that would cause this. In the mean time, I'll set up another apache server on another 10.3 box and confirm the smaller size there. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
David C. Rankin escribió:
Listmates,
David,
I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0.
Webservers do not display images, nor have any clue about that file other than : - information returned by the stat() system call - information somewhat similar to the one returned by the file(1) command. . information you send to it, like your IP address, hostname and browser capabilities In a very simplistic way, it just streams the image as binary content telling your browser the mime type, size, modification time.. etc in order to let it handle correctly. Specifically, all of the element sizes
(fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See:
10.3 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-nemesis.j...
11.0 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-ecstasy.j...
md5sum 3111skyline-* ee075a1ee046a31f5349d12ce6607f84 3111skyline-ecstasy.jpg 07b91847233023676ed87b0e29e12ad9 3111skyline-nemesis.jpg files are not indentical, you cannot expect to get identical results. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0. Specifically, all of the element sizes (fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See:
This is probably due to different versions of firefox being installed on 10.3 and 11.0. On 10.3, Firefox 2.0.x On 11.0, Firefox 3.0.x Browse your site with a different browser like Konquerer or Opera from the 10.3 and 11.0 machine. Under Konquerer or Opera, if the site appears identical when viewed from the 10.3 and 11.0 machines, it is probable that the difference can be attributed to Firefox version differences, rather than Apache. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/01/20 19:26 (GMT-0600) David C. Rankin composed:
I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0. Specifically, all of the element sizes (fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See:
10.3 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-nemesis.j...
11.0 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-ecstasy.j...
I also host the site on my 11.0 laptop for development work and it displays just like the 11.0 server above.
All of the config files (default-server.conf, httpd.conf, httpd.conf.local) for each of the servers is identical and all of the pages on the servers are also identical.
Can anyone think of anything in the apache2 configs that would cause this.
In the mean time, I'll set up another apache server on another 10.3 box and confirm the smaller size there.
Christian is right as far as he went. If you want others to be able to compare http://www.3111skyline.com/ & http://ecstasy.3111skyline.com/ you'll have to find a way to make them different. Both currently return the same IP address. What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL? -- "Train a child in the way he should go, and when he is old he will not turn from it." Proverbs 22:6 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata wrote:
On 2009/01/20 19:26 (GMT-0600) David C. Rankin composed:
I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0. Specifically, all of the element sizes (fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See:
10.3 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-nemesis.j...
11.0 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-ecstasy.j...
I also host the site on my 11.0 laptop for development work and it displays just like the 11.0 server above.
All of the config files (default-server.conf, httpd.conf, httpd.conf.local) for each of the servers is identical and all of the pages on the servers are also identical.
Can anyone think of anything in the apache2 configs that would cause this.
In the mean time, I'll set up another apache server on another 10.3 box and confirm the smaller size there.
Christian is right as far as he went. If you want others to be able to compare http://www.3111skyline.com/ & http://ecstasy.3111skyline.com/ you'll have to find a way to make them different. Both currently return the same IP address.
What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL?
OK, Let me see if I can't clear things up here. First, the screenshots were both taken from the same firefox on my laptop. I just had the nirvana in one tab and ecstasy in another tab and I took sequential screenshots with ksnapshot. Felix is right. I have moved ecstasy to port 8084 so now both servers (nirvana - port 80, and ecstasy - port 8084) can both be access from the outside. Both servers have the same copy of all pages on them thanks to executing rsync -auv nirvana:/srv/www /srv from ecstasy. I have taken measurements with kruler to put numbers to the problem. On nirvana: http://www.3111skyline.com The left column is 157 pixels wide, despite the actual image being 165 pixels wide. On ecstasy: http://www.3111skyline.com:8084 The left column is 165 pixels wide like it should be. Take a look at both and let me know what you see. Just comparing the difference in the number of words that get displayed on the homepage for each is an indication that something is amiss. Also, I have since configured another 10.3 server (i586) and it displays the site just like the other 2 11.0 boxes do, so there is something funny on nirvana (10.3 x86_64). I don't know, I think I need new glasses, but kruler doesn't lie. I'm going to have to investigate Christians md5sum approach, but I can't explain the same files producing different hashes. Thanks for any help you can give. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/01/20 21:29 (GMT-0600) David C. Rankin composed:
Felix Miata wrote:
What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL?
Did you try Ctrl-0?
Let me see if I can't clear things up here. First, the screenshots were both taken from the same firefox on my laptop. I just had the nirvana in one tab and ecstasy in another tab and I took sequential screenshots with ksnapshot.
Felix is right. I have moved ecstasy to port 8084 so now both servers (nirvana - port 80, and ecstasy - port 8084) can both be access from the outside.
Both servers have the same copy of all pages on them thanks to executing rsync -auv nirvana:/srv/www /srv from ecstasy.
I have taken measurements with kruler to put numbers to the problem. On nirvana:
The left column is 157 pixels wide, despite the actual image being 165 pixels wide. On ecstasy:
I have no idea how you're getting what you describe. On 11.0 I loaded both in separate tabs in both FF 2.0.0.20 and FF 3.0.5. I can see tiny differences between the two FF versions, but, other than the visitors counts, absolutely no differences between the two pages compared at once in the same FF.
I don't know, I think I need new glasses, but kruler doesn't lie. I'm going to have to investigate Christians md5sum approach, but I can't explain the same files producing different hashes. Thanks for any help you can give.
The differences in md5sum mainly prove the images are different, not necessarily the page, but the difference between your screenshots is too obvious for md5sums to matter. Regardless of which of the 3 URLs I use, wget gets the same file (other than the counts difference). The CSS delivered from all is identical. -- "Train a child in the way he should go, and when he is old he will not turn from it." Proverbs 22:6 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Felix Miata escribió:
The differences in md5sum mainly prove the images are different, not necessarily the page, but the difference between your screenshots is too obvious for md5sums to matter.
Sure, but this is computer science ;) you need a verfication method to know if what your eyes are seeing is true or not, visual perceptions can vary widely and better not to mention the fact browsers, webservers and image processing libraries may have a number of nasty bugs. -- "We have art in order not to die of the truth" - Friedrich Nietzsche Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Felix Miata wrote:
What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL?
OH THE PAIN!!! #$%$& Firefox! Felix nailed this one on the head. It was something messed up with my Firefox Zoom. All is well. I'm just a little more familiar with firefox as a result. Thanks for all your help! Without it I wouldn't in a million years thought of browser zoom... -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/01/20 21:43 (GMT-0600) David C. Rankin composed:
Felix Miata wrote:
What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL?
OH THE PAIN!!!
#$%$& Firefox! Felix nailed this one on the head. It was something messed up with my Firefox Zoom. All is well. I'm just a little more familiar with firefox as a result.
WAD, not messed up. Think of it like apps remembering window sizes. Most people like when reopening an app to have it open the same size window as last closed. Sometime in FF 3 development the same principle was applied with regard to zoom on a domain by domain basis. https://bugzilla.mozilla.org/show_bug.cgi?id=108391
Thanks for all your help! Without it I wouldn't in a million years thought of browser zoom... -- "Train a child in the way he should go, and when he is old he will not turn from it." Proverbs 22:6 NIV
Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday January 20 2009, David C. Rankin wrote:
Felix Miata wrote:
What we may be seeing in your screenshots is Firefox remembering a previously set non-100% site zoom level for one URL that is inapplicable to the other. Did you do Ctrl-0 on both before shooting? Did you try loading by IP instead of URL?
OH THE PAIN!!!
#$%$& Firefox! Felix nailed this one on the head. It was something messed up with my Firefox Zoom. All is well. I'm just a little more familiar with firefox as a result.
Did you notice that by default / initially, Firefox 3 zooms both text and graphic when you change the zoom but that there's another option that causes only the text to be zoomed?
Thanks for all your help! Without it I wouldn't in a million years thought of browser zoom...
-- David C. Rankin
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 21 January 2009, David C. Rankin wrote:
Listmates,
I have my site at 3111skyline that seems to display differently depending of whether it is hosted on 10.3 or 11.0. Specifically, all of the element sizes (fonts, images, divs, etc.) display 10-15% smaller hosted on 10.3 than they do on 11.0. The difference is quite dramatic. See:
10.3 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-nemesis. jpg
11.0 server (~170k)
http://www.3111skyline.com/download/screenshots/webdev/3111skyline-ecstasy. jpg
I also host the site on my 11.0 laptop for development work and it displays just like the 11.0 server above.
All of the config files (default-server.conf, httpd.conf, httpd.conf.local) for each of the servers is identical and all of the pages on the servers are also identical.
Can anyone think of anything in the apache2 configs that would cause this.
In the mean time, I'll set up another apache server on another 10.3 box and confirm the smaller size there.
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Now there's interesting Viewing the screen captures i see the difference Looks like font size rendering But when viewing the sites direct (using Seamonkey 1.1.14) they both appear identical no variation at all , Have not tried FF aint got it installed on this box to try that have to boot the laptop for that . The live sites both render the same in Konqueror as well but the screen shots differ That has just got to be font related that .. i have had similar issues on one or two sites .. Pete -- SuSE Linux 10.3-Alpha3. (Linux is like a wigwam - no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Cristian Rodríguez
-
David C. Rankin
-
Felix Miata
-
peter nikolic
-
Randall R Schulz
-
Razi Khaja