CodeIgniter Forums
Litespeed Server redirect function is not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Litespeed Server redirect function is not working (/showthread.php?tid=50315)



Litespeed Server redirect function is not working - El Forum - 03-22-2012

[eluser]Unknown[/eluser]
Hello,

I develop the website in php 5.3 and its working fine in my server but when I upload the site on Lightspeed server CI redirect function is not working...could any one give me solution

<?php
header("Status: 302");
header('Location: /info.php', true, 302);
header("Content-Length: 0", true);
header("Connection: close", true);
echo str_repeat("\r\n", 128); // for IE
?>

but it is not working on my controlled where I make a test function

Thanks in advance