Unable to remove index.php on IIS 10 |
(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.
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.
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/app...p-settings (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. |
Welcome Guest, Not a member yet? Register Sign In |