Welcome Guest, Not a member yet? Register   Sign In
[Resolved] Differences in localhost vs remote hosting
#7

[eluser]jedd[/eluser]
Hi Will,

Remember that we get quite a few people posting messages like yours here, and after several hours of frantic activity it's wrapped up by a 'oh, there *was* an .htaccess file there that I'd forgotten about'.

Hence you're going to find a few repeat questions .. not because we don't trust you, but because we don't trust anyone posting these kinds of messages. It's a simple case of statistics, really. Not having access to your keyboard and screen just makes the process slightly more frustrating, of course, as there's obviously no simply heuristics that can be shared on how to quickly resolve these things (if there were, they'd already be published).

And remember, .htaccess files inherit .. so you have to search up to your web root, not just the directory you're publishing your site to. Also, if you have removed the index.php requirement from your URL, then you almost definitely need an .htaccess file in play.

If you've got a public host - share the URL with us. Sometimes it's enlightening. Usually not, though, with a 404 like this .. but you never know.

Have you looked at your logs? The most interesting ones here would be the apache access and error logs - you can tail -f them if your remote box is a real operating system and you have real access to it. It'll provide good feedback on what the web server is trying to load from the file system (and what it can't). You can bump up error logging in your apache config, though it's usually good enough by default for these kinds of problems. You can also check the CI logging feature, though I've usually not found that one very helpful.


Messages In This Thread
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 02:58 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 03:00 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 03:20 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 03:25 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 04:08 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 05:38 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 06:36 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-02-2009, 08:41 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-03-2009, 09:50 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-10-2009, 02:28 AM
[Resolved] Differences in localhost vs remote hosting - by El Forum - 09-10-2009, 02:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB