CodeIgniter Forums
404 Error in Server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: 404 Error in Server (/showthread.php?tid=33808)



404 Error in Server - El Forum - 09-08-2010

[eluser]mohanraajd[/eluser]
Hi,

I've moved CI files to my Server, it's working fine in WAMP Server, but I've uploaded into Server it's showing 404 Page not found...

http://www.domain.com/beta/ - it's working

htpp://www.domain.com/beta/index.php/Terms/ - not working (It's showing 404 Page not found)

Please help me....

In my config file settings are,

$config['base_url'] = "http://".$_SERVER['HTTP_HOST']."/beta/";

$config['index_page'] = "index.php";

$config['uri_protocol'] = "PATH_INFO";

I don't have .htaccess file also, please help me. I'm out of idea.,


404 Error in Server - El Forum - 09-08-2010

[eluser]mohanraajd[/eluser]
Hi,

I’ve moved CI files to my Server, it’s working fine in WAMP Server, but I’ve uploaded into Server it’s showing 404 Page not found…

http://www.domain.com/beta/ - it’s working

htpp://www.domain.com/beta/index.php/Terms/ - not working (It’s showing 404 Page not found)

Please help me….

In my config file settings are,

$config[‘base_url’] = “http://”.$_SERVER[‘HTTP_HOST’].”/beta/”;

$config[‘index_page’] = “index.php”;

$config[‘uri_protocol’] = “PATH_INFO”;

I don’t have .htaccess file also, please help me. I’m out of idea.,


404 Error in Server - El Forum - 09-09-2010

[eluser]Greg Aker[/eluser]
Try different settings for uri_protocol. You can also try to stick with path_info and use: "index.php?" for index_page

ETA: merging your posts. please don't double post


404 Error in Server - El Forum - 09-09-2010

[eluser]mohanraajd[/eluser]
I've tried with that also, still it's not working??