• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
404 but what page?

Hi i made today backup of page that were created with codeigniter.
And i find that logs r full of 404 error like
ERROR - 2007-10-09 11:00:24 --> 404 Page Not Found -->

so i thought that something dont work but i didnt find,
how can i log what page make 404?

Hmm... maybe you can create a little script that tracks the URL of every request and finds out whether this page exists or not. This script you could for example place in the 404 page.

i make more study and i think all my pages makes 404 error
why???????????? they appear normal

50kb of errors every day sucks :long:

[eluser]Derek Allard[/eluser]
Are you using any custom routes? Are you doing any url re-writing?

in htacess
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|css|images|js|downloads)
RewriteRule ^(.*)$ index.php/$1 [L]

and in routes things like that, so controller know which action use and when to make redirect from old version to new one of page
$route['kontakt(.*)'] = "strona/contact";

but everything work, just those 404 dunno why appear in log

ok wrong path to favicon.ico

didnt know that codeigniter can log such things

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.