htaccess rules in /public |
There was a problem. Shared hosting couldn't work with mod_rewrite out of the box - constantly writes "No input file specified"
Search returns various results that point to php-cgi , nginx . In the settings of CI 4, routing is based on REQUEST _URI RewriteRule ^([\s\S]*)$ index.php/$1 [L,NC,QSA] This option works for me on local and test hosting, but does not run on production hosting no. As I understand REQUEST_URI = /controller/method/param Rewrite to index.php/controller/method/param The working version will look abbreviated RewriteRule ^([\s\S]*)$ index.php [L,NC] Does anyone have any thoughts? Bug or not?
Strange, I'm on shared hosting and it worksd right out of the box on my web site.
Sounds like the way your hosting provider has the server configured. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Yes, I told him directly about it. But you understand, this is technical support, rather solve the problem
Yes, it also works for me both original and mod I would like to get a solution. Since after the update, changes may be lost Can you specify this in the documentation for the installation?
You need to let the CodeIgniter 4 Development Team know what you want changed in the Documentation.
CodeIgniter 4 Development Team - Issues What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |