How to fix Error: 404 not found? |
[eluser]talkingnews[/eluser]
Hello, I'm having a similar problem with CI 2.1 I've changed the base_url, too. In fact, over the last couple of hours, I've had so many iterations of the nginx config file, I'm going round in circles. Most people seem to point to this as a working example: http://www.farinspace.com/codeigniter-ng...ite-rules/ Here's the location block - although it says "ci_starter", I've also tried the "standard" CI download, just thought I'd try something else. Both are identical. Code: location ci_starter/ Incidentally, although I'm new to CI and I'm sure there's lots to learn, I see in index.php that it has the lines: Code: define('APPPATH', BASEPATH.$application_folder.'/'); Which would suggest that in my CI folder, under application/core/ there should be a file called CodeIgniter.php but this is found in system/core/ - in application/core there is only index.html with a 403 forbidden. I've turned on php error reporting, CI is in dev mode, and there's nothing to give me a clue, beyond 404. The 404 is being generated by CI, as it's definitely not an nginx error message. If I point it to a static text file in the folder, it works OK. On notice that in nginx debug logging, I see the lines 2012/02/06 20:31:13 [debug] 21926#0: *506 http copy filter: 0 "/ci_starter/index.php?" 2012/02/06 20:31:13 [debug] 21926#0: *506 http finalize request: 0, "/ci_starter/index.php?" a:1, c:1 Where is that ? coming from? Given that I've also tried $config['index_page'] = ''; , should that index and ? even be there? As I say, been a few hours now, so I'm starting to go round in circles. |
Messages In This Thread |
How to fix Error: 404 not found? - by El Forum - 01-18-2012, 11:24 AM
How to fix Error: 404 not found? - by El Forum - 01-25-2012, 12:17 AM
How to fix Error: 404 not found? - by El Forum - 02-06-2012, 02:47 PM
|