Portal Home > Knowledgebase > Articles Database > slow redirects?


slow redirects?




Posted by crispyhihats, 09-17-2013, 07:42 PM
moved a script to a new server and now the php script takes forever to redirect - upwards of at least 30-60 seconds. redirect method is via header('Location: index.php');.. i'm lost on this one. works fine on another server and localhost and i'm pretty sure the php variables have been set correctly. does this sound like a php config issue?

Posted by 10bus, 09-17-2013, 07:47 PM
That's a crazy amount of time. I do have a bit of experience with redirects and I'll be glad to help you. Are you explicitly flushing the output buffer at the end of your script? Do you see anything in your httpd log file that looks strange - warnings/errors? Are you doing any database work that's taking a long time to complete?

Posted by crispyhihats, 09-18-2013, 07:45 PM
thank you for the reply, this ended up being an issue with a misconfigured iptables.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Mod_Layout Problem (Views: 644)
Subdomain with WHM (Views: 679)


Language: