Forum Moderators: phranque

Message Too Old, No Replies

Which index.htm is http:// looking at?

         

mudworm

6:47 am on Jul 16, 2009 (gmt 0)

10+ Year Member



I'm helping a friend look into this very weird behavior. After he publishes a new post using Blogger (it's setup to publish to his own site), he can see the new post if the URL is ftp://example.com/index.htm, but the new post is not there if the URL is http://example.com (or http://example.com/index.htm). We are pulling our hair out trying to figure it out. Please help before I get bald.

Here are a few screenshots:
1. The blog appearance in ftp://example.com/index.htm : [snip]
2. The blog appearance in http://example.com/index.htm : [snip]
3. The web hosting file manager does show that index.htm was just update: [snip]
Actually, after I renamed index.htm using the file manager, I can still see the same (old) page when we bring up http://example.com/index.htm.

I have no idea what web server this web hosting uses and there is no shell access either (only ftp and browser file manager).

Where is this index.htm that http is looking at?

[edited by: phranque at 10:49 pm (utc) on July 16, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

piatkow

8:32 am on Jul 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My immediate thought is that it might just be a browser cache issue.

phranque

10:57 pm on Jul 16, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], mudworm!

have you looked at the response headers for clues?
firefox with the livehttpheaders [livehttpheaders.mozdev.org] add-on is an excellent tool for doing this.

mudworm

11:00 pm on Jul 16, 2009 (gmt 0)

10+ Year Member



Thanks. I will look into the add-on. Can't be browser cache, because I thought the same in the beginning. Clear the cache. Used a different browser. Same thing.

Any idea, where else (other than the root directory) could http be picking up an index.htm? Oh, I even renamed the one in the root directory and the http page looked just the same.

phranque

11:39 pm on Jul 16, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i can't see how a request with that protocol specification could possibly get to your web server.
ftp is not a web protocol so it may depend on your browser behavior when it sees a request for the file transfer protocol.

mudworm

1:07 am on Jul 17, 2009 (gmt 0)

10+ Year Member



I guess I should make it clear that his hosting service only provides two ways to access his files: browser based file manager or ftp. Either way, the index.htm seems newly updated by Blogger ftp publishing -- it does include the newest posts. However, the content is not reflected in http://example.com/index.htm when viewed from the browser. Even after renaming index.htm completely, I still see the same http://example.com/index.htm . So, the real question is where in the world does this http://example.com/index.htm exist? If somewhere else, how does it happen so it's not picking up the index.htm from the root directory?

jdMorgan

1:18 am on Jul 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This could still be a caching issue -- with a server-side cache or a network cache.

A simple trick is to change the URL by adding a bogus query string; Caches only match on exact URLs, so the unique query string makes it look like a never-before-seen request that must be requested direct from your server. For example, try requesting http://example.com/index.htm?send-me-a-new-page!
and see if you get the newly-updated page.

If so, it's a caching issue somewhere. And if not, then maybe your host does something really, really weird with file storage and updates... (?)

Jim

mudworm

1:21 am on Jul 17, 2009 (gmt 0)

10+ Year Member



Okay, I guess the host "does something really, really weird with file storage and updates... ". I tried http://example.com/index.htm?send-me-a-new-page and I got the same old page. What's that really, really weird thing? This is totally baffling me.

JS_Harris

5:52 am on Jul 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Wordpress template? Check permalinks. Specificaly check for recent mods to the template including .htaccess changes as well as hard coded canonical fixes. I'm not saying this is what's going on but if you're truly baffled they are other things to check.

Godaddy hosting for example DOES allow you to change .htaccess settings (ie:permalinks) but for whatever reason the changes aren't always applied immediately, it can take up to 2 hours to see the changes.

This is one of those times having a link to your site would help a lot.

mudworm

6:03 am on Jul 18, 2009 (gmt 0)

10+ Year Member



Nope. Not Wordpress. The main thing is, at the hosting site (root directory), there is not even an index.htm any more, but http://example.com/index.htm is still showing. There is no .htaccess there either.

A webmasters' discussion forum does not allow posting web links. *sigh* How can this be productive. Does anyone have a better discussion forum to recommend for webmasters? I know you can't post link. How about a keyword so I can google it?

phranque

7:23 am on Jul 18, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



if you posted the link to your site or (a temporary url of) a screenshot, your discussion would become fairly useless as soon as you fixed the problem.
on the other hand, if you can figure out how to describe the problem such that it can be solved in a discussion, that discussion will be found by the next webmaster searching for clues to solve a similar problem.

in exchange for the free resource, you help future members.
it's called "paying it forward".