我有一个正在Windows host中运行的项目。现在我想将主机更改为linux主机。 问题是:服务器仅显示我的默认控制器,而其他网址或控制器无法加载。
消息是: 未找到 在此服务器上找不到请求的URL / padash / login / personel。
我的htaccess配置是:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /padash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
// ************ /////
注意:我的主持人都在本地计算机中
答案 0 :(得分:0)
这可能是因为Windows不是区分大小写的系统,而Linux是。请确保您遵守这些规则。
命名约定
class Myclass