5 replies [Last post]
rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 15 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

SO... do different web servers display differently just like different browsers do?

This page http://www.tcsnd.org/fred/tcs/default1.asp looks fine in my test environment, but the font's are messed up when put on the production site.

Test environment is a laptop running MS Personal Web Server but the site is on NT running MS IIS.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 11 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Do web servers behave differently

Hi

In delivering pure html, servers do not vary.

However, using server side processing (ssi: php, asp, cgi etc) each server may well have different versions of the software, with different patches, set with different configurations, and yes, they can vary the html they output to the browser.

Many is the time that I have faced your situation, but you learn what the problems are. Usually, it is that you have set up your pc to run without much security (coz you don't need it), but the server admin has his server tighter than a nun's ***. And often that is the problem. For example, you may be including files to run, but the way you do it violates the online server's protocols.

You really need to either talk to the admin, or go to a webmaster forum and post your question there.

Trevor

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 15 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

Do web servers behave differently

Thanks ClevaTreva..
I'll try a webmaster forum... just thought I'd try here first since the fonts are declared with CSS

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 11 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Do web servers behave differently

Hi

Maybe I misunderstood your question. Are you saying the only difference is the fonts? The html source file is the same?

Are you viewing both on the same machine, or on different machines? Because if you have the file on your local server on your pc and view it, then upload it to a web server and view from the same machine as you viewed it locally, there should be no difference.

I would expect a difference (potentially) if you viewed it from different machines due to different fonts being installed.

Trevor

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 3 years 15 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

ClevaTreva

Yes, to all of your questions... but when looking now it seems all is fine?
Maybe a "cache" problem... I don't know...
Take a look if you get a chance and let me know how the text looks to you
thanks again for your help

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 3 years 11 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Do web servers behave differently

Hi

The answer is Yes to the cache question.

Here's how it works (or doesn't).

Your pc clock is set to local time, the web server is set to another timezone.

When a file is saved onto the web server, it's timedate stamp is local to the server.

When the file is stored after browsing, in your local cache, it gets your local tiemstamp. If that is ahead of the updated file on the web server, IE won't load the newer file!

Solution? Load the page, then refresh using Ctrl+F5. IE will then ignore the cache.

Trevor