Skip to content

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

@huclilu

Description

@huclilu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions