Codeigniter 3 not working on iis - 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: Codeigniter 3 not working on iis (/showthread.php?tid=74216) |
Codeigniter 3 not working on iis - tp45 - 08-28-2019 Hello am trying to run my website on iis but it only run the first page my is like this url http://localhost/friendmiiDemo/ and it works but when i go to http://localhost/friendmiiDemo/about it does not work i get this error https://www.dropbox.com/s/omltzinfskxpbey/Screenshot%20(49).png?dl=0 1 this is my web.config Code: <?xml version="1.0" encoding="UTF-8"?> the first loaded page https://www.dropbox.com/s/qk38l9uoh5qvv1q/Screenshot%20(48).png?dl=0 and in the config i have these routes PHP Code: $route['posts/create'] = 'posts/create'; my navbar code below Code: <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> Please help Thanks in advance RE: Codeigniter 3 not working on iis - jreklund - 08-29-2019 I have had success with the following: Code: <?xml version="1.0" encoding="UTF-8"?> RE: Codeigniter 3 not working on iis - tp45 - 08-29-2019 Thanks @jreklund it does not give me the error any more.. now it says (No input file specified.) iis is stressing, i will keep trying to fix it but if you have any solution or an advice please help. RE: Codeigniter 3 not working on iis - jreklund - 08-30-2019 I would check IIS error and access logs to find some more clues, that's a pretty generic error. It can be miss-configured PHP Handler, read/write permissions on files etc. RE: Codeigniter 3 not working on iis - InsiteFX - 08-31-2019 Note that a route with (:any) in it needs to be the very last route, it is a catch all route. RE: Codeigniter 3 not working on iis - tp45 - 08-31-2019 Good news it works i changed this <action type="Rewrite" url="index.php/{R:1}" appendQueryString="false" /> To this <action type="Rewrite" url="index.php?/{R:1}" appendQueryString="false" /> RE: Codeigniter 3 not working on iis - tp45 - 08-31-2019 and i fount this link with some solutions for this problem https://github.com/EllisLab/CodeIgniter/wiki/Godaddy-Installation-Tips RE: Codeigniter 3 not working on iis - jreklund - 09-01-2019 GoDaddy strikes again it seems. Don't know why they are using that idiotic structure on their servers. |