kishor10d / Admin-Panel-User-Management-using-CodeIgniter

Admin Panel User Management Demo - CodeIgniter + AdminLTE Theme
http://cias.codeinsect.com
GNU General Public License v3.0
338 stars 241 forks source link

How to enable mod_rewrite in Ngnix server #24

Closed kalyan6013 closed 6 years ago

kalyan6013 commented 6 years ago

Hi

I have deployed your code in my nginx server and I was able to access login page and after I try to login it is throwing 404 error.

I saw your ReadMe file where you mentioned for apache server. But I'm not able to modify the changes in nginx server. I searched in google and got different answers but nothing worked for me. Help me with this.

kishor10d commented 6 years ago

@kalyan6013 : Actually nginx not supporting mod_rewrite as it is apache module. You just need to define the rewrite rule as per nginx. Please refer this link : https://www.nginx.com/blog/converting-apache-to-nginx-rewrite-rules/