404 error from codeigniter when hosted to server (tried every possible conditions) |
im getting 404 error when i hosted to server
i checked capital letter at starting. Please some one help me.
Did you change your base url in the config.php file to point to your domain?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Are you trying to use any special routes?
Please show us the code for the controller and view of one such page.
(05-31-2019, 05:39 AM)chinna Wrote:(05-31-2019, 04:57 AM)dave friend Wrote: Are you trying to use any special routes? In the welcome() function the last line is PHP Code: $this->load->view('loginn"); Should "loginn" be "login"? If it should be "login" that may be the source of the 404. In the future please copy and paste all code into the message editor, then use the PHP button in the toolbar to make it as PHP code. It's less work for everybody in the long run. Thanks.
If the .htaccess file you show is in the website's public folder then you should delete the following code
Code: <IfModule authz_core_module> You don't want to deny access to the web server, do you? (05-31-2019, 08:03 AM)dave friend Wrote:no bro its correct(05-31-2019, 05:39 AM)chinna Wrote:(05-31-2019, 04:57 AM)dave friend Wrote: Are you trying to use any special routes? (05-31-2019, 08:18 AM)dave friend Wrote: If the .htaccess file you show is in the website's public folder then you should delete the following code deleted still not working
(05-31-2019, 05:39 AM)chinna Wrote:(05-31-2019, 04:57 AM)dave friend Wrote: Are you trying to use any special routes? First fix the password code... . https://paragonie.com/blog/2017/12/2018-...-passwords Second: https://www.codeigniter.com/user_guide/i...ation-rule Third: Update the php version 5.5 is very old Back to the problem: Check if the .htaccess is allowed |
Welcome Guest, Not a member yet? Register Sign In |