• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
404 Page Not Found on my live server

#1
I have the following config.php:

PHP Code:
$config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/myfolder'  
$config
['index_page'] = 'index.php';
$config['uri_protocol'] = 'AUTO'

This works fine locally , but when I upload the project to the server ,
when I call the following URL :

http://example.com/myfolder/  

or

http://example.com/myfolder/index.php

It comes an error message: "404 Page Not Found"

Why?
Reply

#2
You can try to change the file name of controller to ucfirst
Reply

#3
(04-11-2015, 12:22 PM)nfaiz Wrote: You can try to change the file name of controller to ucfirst

Thanks a lot! That works!
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.