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

#1
[eluser]wojtekk[/eluser]
Hi i made today backup of page that were created with codeigniter.
And i find that logs r full of 404 error like
Code:
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?

#2
[eluser]Doncqueurs[/eluser]
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.

#3
[eluser]wojtekk[/eluser]
i make more study and i think all my pages makes 404 error
why???????????? they appear normal


50kb of errors every day sucks :long:

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

#5
[eluser]wojtekk[/eluser]
yup
in htacess
Code:
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
Code:
$route['kontakt(.*)'] = "strona/contact";


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

#6
[eluser]wojtekk[/eluser]
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-2020 MyBB Group.