Welcome Guest, Not a member yet? Register   Sign In
cannot load default controller
#1

hi,
my codeigniter is placed in a subfolder.
when im trying to load it.

www.website.com/ci <-- it gives me 404 error
but when i did this
www.website.com/ci/welcome <-- it display the page.

.htaccess

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] 
</IfModule>

thanks
Reply
#2

Did you edit the index.php file and point the application and system paths to the sub folder?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB