Linux服务器下IE访问url跳转不正常
发现特纳闷一问题:在自己本机PHP集成环境下用各浏览器访问均正常,在编译好LAMP环境的Linux服务器中访问Chrome正常,IE下能访问,但是点登录跳转的url不正常,以至显示404错误。
点击登录后跳转不正常的URL:http://192.168.244.130/index.php/user/index.php/home/index,
正常的URL:http://192.168.244.130/index.php/home/index
登录功能我是用ajax实现的
代码如下:
function ajax_check_login()
{
$.post("index.php/user/ajax_check_login"+"/"+new Date().getTime() , {uid:$("#uid").val(),password:$("#password").val(),remember:$("#remember").val()},function(data){
if(data!=='login'){
$("#error").fadeIn("fast").html(data);
}else{
location.href="/index.php/home";
}
});
}
大家帮帮忙额~~
页:
[1]