Welcome Guest, Not a member yet? Register   Sign In
Viewing log files in CI
#3

[eluser]machouinard[/eluser]
That logfile viewer looks great, but I still can't figure out how to allow access to the log files at application/logs/.

If I understand correctly, my .htaccess file basically says if the URL being requested isn't a file or directory then let CI handle it through index.php.

I don't understand why I can access the log files on one site but get a 404 on another. The .htaccess and file structure are identical on both sites I'm working with.

I tried switching the rewrite conditions to
Code:
RewriteCond $1 !^(index\.php|public|application|images|css|js|robots\.txt|favicon\.ico)
but I still get a 404 error when trying to access http://mysite.com/application/logs/log.php

What am I missing? Something simple?




Messages In This Thread
Viewing log files in CI - by El Forum - 03-07-2012, 11:34 PM
Viewing log files in CI - by El Forum - 03-08-2012, 12:35 AM
Viewing log files in CI - by El Forum - 03-08-2012, 05:14 AM
Viewing log files in CI - by El Forum - 03-08-2012, 06:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB