更新时间:2023-12-03 19:08:04
从我的角度来看,.htaccess文件应该看起来像这样:
From my point of view, the .htaccess file should look like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /pes/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
必须在主控制器中检查对仪表板的访问,具体取决于您如何设计逻辑。
此外,URL的映射必须在 application / config / routes.php
文件
The access to dashboard must be checked in your main controller, depend on how you have designed the logic.
Also, the mapping of urls must be done in application/config/routes.php
file