This is the new problem that I have to continuous find the solution. It’s seem like the system not call function in controller at all (in this case funciton new_order in Order controller). At there, I can see the ‘root controller page’, which is the same page as base url (60daysonline/60d). If I put ‘index.php’ to $config, the url will become 60daysonline/60day/index.php/order/new_order. .I found that when I put the empty string to $config, the system will route me to the url that exclude index.php from address such asĦ0daysonline/60day//order/new_order. Contextįile: /etc/nginx/sites-available/default server Īnd the following is new codeIgniter’s config file $config = "" But for others controller (in this case new_order function of order controller), it show this error. I can work with default controller, which welcome controller. 17184#0: *8 rewrite or internal redirection cycle while internally redirecting to "/index.php/", client: 58.9.106.64, server:, request: "POST /60d/index.php/order/new_order HTTP/1.1", host: "", referrer: "" When I examined the /var/log/nginx/error.log, it show the following error If you have any queries, use the comment form below to reach us.I got the 500 Internal Server Error Nginx error when I post to other controller… In this article, we explained you how to hide Nginx server version in error pages and “Server” HTTP response header field, in Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |