I am using Yii on IIS and this has been working well until today. I uploaded a new version of a couple of files to:
C:\inetpub\wwwroot\myapp and all of a sudden I keep getting 302 Moved temporarily when trying to visit my site. I restored to the previous files, but am still getting the same error.
I tried accessing my site both through the domain name and with the direct IP and am still getting the same error. Cleared the cache in the browser and everything too.
I restarted the web server to see if it would understand that the file is actually there, but still no luck.
After deploying a new version, I had deleted all contents in my wwwroot and upon copying the new ones in, I had obviously forgotten to give IUSR write permissions to the runtime and assets folders. When doing that everything worked again.