codeigniter子文件夹 [英] Codeigniter Subfolder
本文介绍了codeigniter子文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个codeIgniter在我的网站说abc.com。我抄完整的内容到子文件夹中的同一站点中说abc.com/test。但我不能使用abc.com/test访问该站点。 谁能帮我在这方面
I have a CodeIgniter in my site say abc.com . I have copied full content to a sub folder in same site say abc.com/test . But I can't access the site using abc.com/test . Can anyone help me in this regards
感谢
推荐答案
根的htaccess
Root htaccess
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|lib|robots\.txt|test)
RewriteRule ^(.*)$ index.php/$1 [L]
这篇关于codeigniter子文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文