Unable to remove index.php on IIS 10 |
I have had no luck removing index.php from site's URL. I'm upgrading to 3.1.9 from 2.1.4, and any URL rewrite I try in my web.config file gives me a 500 error. My setup is:
Code: $config['index_page'] = 'index.php?'; Any help on either issue would be greatly appreciated. (10-08-2018, 07:19 AM)php_rocs Wrote: @travdog95, I appreciate the response, but this is the first place I went. The URL rewrite on this page refers to Apache. I have it working correctly in my existing environments (see below), but I need to upgrade OS, IIS, SQL Server, PHP and Codeigniter. Current Environment:
10-08-2018, 10:33 AM
(This post was last modified: 10-08-2018, 10:34 AM by travdog95. Edit Reason: Formatting ) Code: <?xml version="1.0" encoding="UTF-8"?>
I think I need to solve my URI_PROTOCOL problem first. Without setting $config['index_page'] = "index.php?", I can't get any page to load except the default page. Like the documentation says, I've rotated through all the possible options for URI Protocol, but none of them work. I was using "Auto" in my old environments.
Code: /* Because none of these options worked, I added a "?" to my index.php as recommended by the troubleshooting page: https://www.codeigniter.com/user_guide/i...oting.html
This is my web.config file.
Place it in the root, it's working for me with ISS with sql-server 2014 and 1016 Code: <?xml version="1.0" encoding="UTF-8"?>
Hi, try this one instead.
Code: <?xml version="1.0" encoding="UTF-8"?> |
Welcome Guest, Not a member yet? Register Sign In |