CodeIgniter Forums

Full Version: Httacess Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]MianUsman[/eluser]
Hi everybody,

i am facing problem in codeigniter htacess,
i create a sub folder name core and i put all codeigniter files in it as well as htacess
the problem is that my site become so slow when i get login from admin panel, here is my htacess code

<IfModule mod_rewrite.c>
RewriteEngine On


RewriteBase /core/



RewriteCond $1 !^(index\.php|img|images|fpdf|blog|jscalendar|xajax_js|css|js|include|styles|ajax|robots\.txt|favicon\.ico)

RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>


Can any body identify this issue
Regards.

El Forum

[eluser]Gordaen[/eluser]
I'd suggest enabling the profiler in your controller:

Code:
$this->output->enable_profiler(TRUE);

This will give you an indication of whether your slow load times are on the Apache side of things or the PHP side.

Are other pages on your site slow or only your admin panel?