Welcome Guest, Not a member yet? Register   Sign In
404 error when i hosted my site in server
#1

[eluser]abinmd[/eluser]
Am new to codignitor and i developed a small website using this.My site is working fine in
localhost.but when i move my website to the web server, the first Welcome controller is working fine,because i got my first login page.when i click my login(Welcome/login).it gives 404 error(hosting server 404 page) .Even it doesn't give any validation errors.

i hosted this in to a subdomain(www.subdomain.example.com)
and i changed base_url,like this domain name.Using HTACCESS file for rewriting url.

I changed the $index_page="index.php" to $index_page="", for removing index.php from URL.
this working well in localhost., On the server i checked with $index_page then it gives codignator 404 error page.


The only difference with my localhost is , i hosted it in a subdomain.It may be problem with HTACCESS
please help me.

attaching my HTACCESS file


Messages In This Thread
404 error when i hosted my site in server - by El Forum - 12-15-2012, 08:07 PM
404 error when i hosted my site in server - by El Forum - 12-16-2012, 12:45 AM
404 error when i hosted my site in server - by El Forum - 12-16-2012, 07:10 AM
404 error when i hosted my site in server - by El Forum - 12-16-2012, 10:51 AM
404 error when i hosted my site in server - by El Forum - 12-16-2012, 09:02 PM
404 error when i hosted my site in server - by El Forum - 12-16-2012, 10:07 PM
404 error when i hosted my site in server - by El Forum - 12-17-2012, 02:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB