SchoolErp icon indicating copy to clipboard operation
SchoolErp copied to clipboard

if 404 or No input file specified appears during the access

Open huclilu opened this issue 2 years ago • 1 comments

Guys, if you encounter the same problem as me, see how I solve it!!!

Directly modify the eleventh line of the. htaccess file:

RewriteRule ^(.*)$ /SchoolERP/index. php?$ 1 [L]

Add a? After index.php,that will do

Or copy my. htaccess directly

<IfModule mod_rewrite.c>
 RewriteEngine On
 #rename "codeIgniter213" with your application directory
 #For example you rename the entire CodeIgniter application as "mysite"
 #then, the "RewriteBase /" will be like this "RewriteBase /mysite"
 #same as at line number 10, "RewriteRule ^(.*)$ /codeIgniter213/index.php #/$1 [L]" will be like this "RewriteRule ^(.*)$ /mysite/index.php/$1 [L]"

 RewriteBase /SchoolERP
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule ^(.*)$ /SchoolERP/index.php?$1 [L]
</IfModule>

enjoy

huclilu avatar Nov 16 '22 13:11 huclilu

hi there, i am also facing same error. playing with . htaccess but of no use. your . htaccess and the one already provided have same code. can you help how to go away 404 error

Ameelh avatar May 21 '24 23:05 Ameelh