CodeIgniter Forums
IIS + CI Problems! - 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: IIS + CI Problems! (/showthread.php?tid=54426)



IIS + CI Problems! - El Forum - 09-07-2012

[eluser]Unknown[/eluser]
Hi there,
Recently I started to test out my CI products in IIS Server environment, and I noticed this problem. And I really hope somebody can help me solve this problem .

If I visit CI Application homepage like (http://localhost/ci/) by not modifying config.php file, I get 404 Page Not found error.

Then if I change $config[‘uri_protocol’] = “AUTO”; to $config[‘uri_protocol’] = “PATH_INFO”;

The welcome page loads just fine .

However, if I visit http://localhost/ci/index.php/welcome, it doesn’t work Sad. The error HTTP Error 502.2 - Bad Gateway by IIS.

Any ideas on how to fix this other than using query strings?




http://www.galatourist.com
http://www.whitedolphinhalong.com
http://www.hotelinlasvegas-us.com


IIS + CI Problems! - El Forum - 09-14-2012

[eluser]amine.elharrak[/eluser]
use the htaccess file