如何在codeigniter的路径中删除“ index.php”

如何在codeigniter的路径中删除“ index.php”,第1张

如何在codeigniter的路径删除“ index.php”

如果您使用的是Apache,请将.htaccess文件放在根Web目录中,其中包含以下内容

RewriteEngine onRewriteCond  !^(index.php|[Javascript / CSS / Image root Folder name(s)]|robots.txt)RewriteRule ^(.*)$ /index.php/ [L]


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5151351.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-18
下一篇2022-11-18

发表评论

登录后才能评论

评论列表(0条)

    保存