Welcome Guest, Not a member yet? Register   Sign In
codeigniter problem - site redirects to localhost in WAMP
#9

[eluser]Manjunath Reddy[/eluser]
I'm also facing the same problem.

Here is my config.php

Code:
$config['base_url']    = 'http://localhost/cicms/';
$config['index_page'] = "";
$config['uri_protocol']    = "AUTO";
$config['url_suffix'] = "";


and .htaccess
Code:
RewriteEngine On
RewriteBase /cicms/

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ index.php/$1 [L]

RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ index.php/$1 [NC]

RewriteRule ^admin$ admin.php?/$1 [NC]
RewriteRule ^admin/(.*)$ admin.php?/$1 [NC]

each time I click on any link it redirects to wamp home page.

it works fine if I include localhost/sitename/index.php/category
but it does not work if the link is localhost/sitename/category and this always redirects to wamp home page. I have tried all the possible ways mentioned above in this thread :-) couldn't make it work
I'm lost any help would be appreciated.


Messages In This Thread
codeigniter problem - site redirects to localhost in WAMP - by El Forum - 07-25-2011, 04:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB