[英]CodeIgniter Database Migration Error
當我通過URL在codeigniter中遷移數據庫時:hostname / project-name / api / migrate /錯誤顯示,如圖所示
請幫我解決
嘗試將此代碼添加到.htaccess文件。 我認為這應該有所幫助
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /hafer
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
AddDefaultCharset UTF-8
AddType text/x-component .htc.
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.