Jump to content

404 error


Kelandon

Recommended Posts

For unfathomable reasons, when I go to the main forum page on my computer (namely, this page), I am getting a 404 error. I am not getting the error when I go to any subsidiary page (Spiderweb General Boards, any specific board or specific topic), only the main page. I am also not getting this error on my iPhone or iPad, just my computer. I'm using Safari on Mac OS 10.10, for whatever that's worth.

 

Anyone have any idea what's up?

Link to comment
Share on other sites

It's somewhere in the library -- you might be able to do a cmd-F for "hosts" as filename and find it that way.

 

Also, I notice the URL for that page is just a server with no page specified. If you follow this link, which includes the page, does that work?

 

http://spiderwebforums.ipbhost.com/index.php

Link to comment
Share on other sites

Also, I notice the URL for that page is just a server with no page specified. If you follow this link, which includes the page, does that work?

 

http://spiderwebforums.ipbhost.com/index.php

Bizarrely enough, yes. It still means that all the links to the main forum page give me a 404 error, though.

Could you post the exact http session with the headers? I'm not too familiar with Safari, but clicking it in this pane should do the trick.

What exactly do you want? I can open the timeline and record, but I'm not sure what part of the output you'd like. Nothing is labeled "http session."

Link to comment
Share on other sites

it should be the very top request--in that example it's instruments.html, for you it prolly will show up as "/". Anyway, if you click on it it should show what headers were sent with the request and response. A screenie of that would be helpful to see exactly what it is requesting.

 

this is in firefox, but it should probably look similar: http://cdn.calref.net/sylae/images/misc/64217c4afdf45deae358a64c07f3d1b3.png

Link to comment
Share on other sites

Oh bother, you're supposed to hit the 'resource' button on the right, I guess.

 

In any case, it looks like the original request is fine, unless it's sending a Location header without switching off 200 OK (I'm guessing it's some sort of javascript redirection)? See if you can get the HTML source of that page (should be in the Resource button on the right according to a quick google, but if not cURL or wget should work as well).

 

This is pretty weird, I've seen no indication that IPB uses any sort of CGI process (and a quick (although not comprehensive) search of the theme files shows nothing regarding cgi or redirects besides an ajax login--I'm guessing clearing cookies didn't fix anything?

Link to comment
Share on other sites

Oh bother, you're supposed to hit the 'resource' button on the right, I guess.

Here's that. And here's the one on the left, for fun. (Note that I still get the 404 if I turn off AdBlock.)

 

In any case, it looks like the original request is fine, unless it's sending a Location header without switching off 200 OK (I'm guessing it's some sort of javascript redirection)? See if you can get the HTML source of that page (should be in the Resource button on the right according to a quick google, but if not cURL or wget should work as well).

I think this is that. Note that if I click on the item on the left pane just above this, the right pane is totally blank.

 

This is pretty weird, I've seen no indication that IPB uses any sort of CGI process (and a quick (although not comprehensive) search of the theme files shows nothing regarding cgi or redirects besides an ajax login--I'm guessing clearing cookies didn't fix anything?

I cleared cookies for only Spidweb, and all it did was log me out, but that didn't help. I still get the 404 even when I'm logged out. It's pretty destructive to clear all cookies, so I'm trying to avoid that if I possibly can.

Link to comment
Share on other sites

your answer is on the first google result here (atleast for me, from superuser.com):

http://superuser.com/questions/787576/why-do-i-keep-getting-redirected-to-cgi-bin-redirect-ha-when-using-att-u-ve

 

basically your modem sucks.

 

[copy-paste]

"This is a known bug in the Motorola NVG510 modem supplied by AT&T U-Verse."

[/copy-paste]

 

I would hound your ISP first (att or otherwise), and tier-1 tech support won't be of use to you, get tier-2 on the line asap, if they don't know, ask for tier-3. You will probably have to make multiple calls. After no success there (likely), hound Motorola and ask for tier-2,etc. I see many calls in your future. A field tech isn't likely to help you either, so sending someone out to your house is a waste of time (and they might bill you for it so watch out)

 

your modem might have settings to tweak to fix it though, or just buy your own modem that doesn't have annoying bugs if you can.

Edited by sylae
kind of risky for a first-time poster to use a link shortener--edited to go to the article in question
Link to comment
Share on other sites

As my experiment probably made clear, you're being led to index.html (or some other page) instead of index.php. Sounds like some confused software component has decided not to ask for the default path for this particular host and just use whatever it thinks is right, which isn't. (Either that or it's getting confused by the directions, but that seems very unlikely.)

 

I assume if anything had changed recently (upgraded programs, etc) you'd have said so. Also I assume this happens in multiple browsers or you'd have said so. If it's Safari-specific, then I'd put it down to overzealous Apple logic.

 

Does it happen in other browsers too? And if you open an incognito window (or equivalent) does it happen there?

Link to comment
Share on other sites

Does it happen in other browsers too? And if you open an incognito window (or equivalent) does it happen there?

No and no, oddly enough.

 

The fact that it doesn't happen under private browsing is especially odd, because I don't know what private browsing is doing that I can't simulate with other tricks I was trying (clearing cookies, setting the "do not track" feature, etc.).

Link to comment
Share on other sites

At this point, I would suggest nuking and paving. If you delete the Safari folder from your user library, whatever is causing this should be deleted as well. Quit Safari, open a Finder window click on Go on the menu bar, hold down the option key (or alt if you're using a Windows keyboard, and click on Library. You may want to backup your bookmarks first; if so, open the Safari folder and copy bookmarks.plist somewhere you can find it. Then delete the Safari folder and relaunch Safari. If this doesn't fix it, something deep in your system files is screwed up.

Link to comment
Share on other sites

At this point, I would suggest nuking and paving. If you delete the Safari folder from your user library, whatever is causing this should be deleted as well. Quit Safari, open a Finder window click on Go on the menu bar, hold down the option key (or alt if you're using a Windows keyboard, and click on Library. You may want to backup your bookmarks first; if so, open the Safari folder and copy bookmarks.plist somewhere you can find it. Then delete the Safari folder and relaunch Safari. If this doesn't fix it, something deep in your system files is screwed up.

Did it. No luck. Still the same problem.

Link to comment
Share on other sites

As described in the link I referenced (http://superuser.com/questions/787576/why-do-i-keep-getting-redirected-to-cgi-bin-redirect-ha-when-using-att-u-ve)

 

and indicated by your posts (screenshotted the problem bits)

http://gyazo.com/d06d3412e6d9a19871efeb6291c8b6b7

http://gyazo.com/203d1478a67d383abf58ca670d0637fa

 

Your browser is redirecting you to: redirect.ha (your screenshots prove this)

your modem probably started it by redirecting to redirect.ha at some point, and now your browser/Operating System has cached it (perhaps the modem set the cache time for a very long period), the fact it remains cached is a mystery to me.

 

Private browsing probably doesn't use the cache, or it uses a separate one. I don't know where the cache data is stored, but getting that cleared out should solve this.

 

This might help you clear your cache (simply deleting the Safari folder might not work, the cache might not be in there):

https://discussions.apple.com/thread/4448839?tstart=0

 

So I still believe the cause of the problem is your modem set a very long cache time for the root spiderweb forum page which redirects to redirect.ha and now your browser has it cached and is delivering you the cached result (if the cache time is long, you'll continue to get the cached result until it expires).

Link to comment
Share on other sites

This might help you clear your cache (simply deleting the Safari folder might not work, the cache might not be in there):

https://discussions....448839?tstart=0

I'll be damned. Clearing the cache worked. Thanks!

 

EDIT: Note to those who think, "Why didn't Kel come up with this before?": Clearing the cache is an option available in the "Develop" menu, which is not available by default. It may be possible to do it through the "Clear History and Website Data" menu option, but that obliterates so much that I didn't want to if I could avoid it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...