Unable to remove index.php on IIS 10 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Unable to remove index.php on IIS 10 (/showthread.php?tid=71903) Pages:
1
2
|
RE: Unable to remove index.php on IIS 10 - travdog95 - 10-08-2018 (10-08-2018, 01:17 PM)jreklund Wrote: appendQueryString="true" in my web.config should solve that one. I made the changes to the web.config file and set $config['index_page'] = '', and unfortunately, I still can't load any page except the default controller in the routes file. I get the error "No input file specified." I'm no IIS expert, but I'm thinking that there's some configuration I need to change on IIS. RE: Unable to remove index.php on IIS 10 - jreklund - 10-09-2018 Try this: https://serverfault.com/questions/883420/iis-php-error-no-input-file-specified RE: Unable to remove index.php on IIS 10 - travdog95 - 10-09-2018 That didn't work either; however, I did finally find the problem! In my php.ini file, I had set cgi.fix_pathinfo=0 based on a recommendation for installing PHP on IIS...after changing it back to cgi.fix.pathing=1, everything started working again! Thanks for your help. RE: Unable to remove index.php on IIS 10 - jreklund - 10-09-2018 If that's the case you are reading old resources and need to check other settings as well. Here are one for IIS 8+. https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/planning-step-2-plan-php-settings RE: Unable to remove index.php on IIS 10 - travdog95 - 10-09-2018 (10-09-2018, 08:21 AM)jreklund Wrote: If that's the case you are reading old resources and need to check other settings as well. Here are one for IIS 8+. I'll check it out, much appreciated. |