Welcome Guest, Not a member yet? Register   Sign In

Dear Friend
I am new with codeigniter please help me out. I have installed codeigniter and when i tried to add my custom code in cotroller and then in view and called the view from controller and type to url it gives me 404 error....
my url is=www.somsoftsolutions.com/codig
my custom code is www.somsoftsolutions.com/codig/index.php/blog/blog.php
please help where i am getting error......

Do you have a .htaccess in place?

If you remove that, does http://www.somsoftsolutions.com/codig/in...g/blog.php work?

No i am not using even .htaccess?

Nothing in the document root as well? Or in the apache config?

Even loading http://www.somsoftsolutions.com/codig/index.php or http://www.somsoftsolutions.com/codig/ throws a 404 error, generated by the webserver, so it doesn't even get to CI.

Nope i did not configured any .htaccess. index file of http://www.somsoftsolutions.com/codig/index.php is working fine. But when i went to add my own controller like blog it gives me error.

Thanks for helping i got my error i was not defining default controller in rounte. But now its giving me the error unable to load file blogview error :Unable to load the requested file: blogview.php?

What is blogview? Bit of code would be helpful...

Theme © iAndrew 2016 - Forum software by © MyBB