Re: when redirecting, a 0kb file is downloaded

From: Date: Sat, 23 Jan 2016 11:29:14 +0000
Subject: Re: when redirecting, a 0kb file is downloaded
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-325362@lists.php.net to get a copy of this message
> Date: Friday, January 22, 2016 15:03:11 -0800 > From: Negin Nickparsa <nickparsa@gmail.com> > > This is the weirdest thing could ever happen. > > I ran a php script of redirecting about 200 urls with a particular > category to be sent to product detail pages and they worked fine > on my local machine which is windows. > > our staging server is nginx, so I think it should be from some > configurations but I cannot figure this out. > > Could you please let me know what you think about this? > > it will redirect to right page but does not reload the page and > then download a file with the name of url and the file is 0kb. > > it seems that I have the same .htaccess file, but server > configurations are definitely different. > > ​Thanks, > Negin Without seeing any of your script, configurations, logs, or a full description of what you are doing, it's kind of hard to guess what might be different between your two instances. Show your work.

« previous php.general (#325362) next »