Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if 404 or No input file specified appears during the access #32

Open
huclilu opened this issue Nov 16, 2022 · 1 comment
Open

if 404 or No input file specified appears during the access #32

huclilu opened this issue Nov 16, 2022 · 1 comment

Comments

@huclilu
Copy link

huclilu commented Nov 16, 2022

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

@Ameelh
Copy link

Ameelh commented May 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants