当我在浏览器中使用本地主机/小时运行CI项目时,它将本地主机/仪表板/重定向到。CodeIgniter本地主机重定向到xampp主屏幕
搜索不同的解决方案,但没有得到它的工作。这里是我的.htaccess文件 “的htdocs /小时” 文件夹
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
注:没有的.htaccess文件在的htdocs文件夹。
当我删除/重命名index.php文件和访问htdocs它给我错误。
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
我在做什么错,如何让它工作?我htdocs中的
截图/小时文件夹是波纹管
你的route.php中有什么 – Snm
'$ route ['default_controller'] =“site”; $ route ['404_override'] ='';' –
'在'RewriteEngine On'后面加上'RewriteBase/hr /' – Kamran