In my codeigniter page, i get error No input file specified.
so what the problem?
The problem caused by, your apache+php run the CGI (multi PHP version)..
How to fix that error (No input file specified.) ..?
You can create .htaccess on root of codeigniter folder.
and copy this script :
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
If you already have .htaccess, just add ? on index.php?/$1
then last, refresh your codeigniter page ! 🙂
Nguồn: https://canhosafira.com.vn
Xem thêm bài viết khác: https://canhosafira.com.vn/cong-nghe
I've had this problem on Android. How do I fix it?
How do i do this on phone?
what that
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
Спасибо большое 🙂 Thanks man
Thank you bro!
Thanks Dear
genius solved my issues
Thank you very much
Thaks man, saved me from trouble.
thanks
Thank you !
how to fix for nginx
Thank you!
Thanks man, been trying for 4 hours to figure this out
Thanks a lot 🙂
it works, thanks
Works! cool! thanks!
i can't open the .htaccess
Very useful, thanks!
thanks yr
thanks.
Works like a charm !
thank's a lot 🙂
pake nginx ya ini?
Thanks For Helping Dear (y) 🙂
Thanks for helping me out