Codeigniter 3 not working on iis |
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
I have had success with the following:
Code: <?xml version="1.0" encoding="UTF-8"?>
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.
Note that a route with (:any) in it needs to be the very last route,
it is a catch all route. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
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" />
and i fount this link with some solutions for this problem https://github.com/EllisLab/CodeIgniter/...ation-Tips
GoDaddy strikes again it seems. Don't know why they are using that idiotic structure on their servers.
|
Welcome Guest, Not a member yet? Register Sign In |