Upload pictures (post / photos),走不到rails of the create action. Webrick normal use.
Observation lighttpd log, forward to the rails of dispatch.fcgi, back are the basic 302 (temporary redirect), which do not have any problem post.
However, From the picture, return byte 302,0. Browser will automatically get 302 and go the wrong get / photos.
Remember Robbin mentioned under rails at fcgi download files on a bug, have said that it was a shameful bug, have not been repaired.
Environment: linux
lighttp log:
12142 121.35.75.46 baicaonet.com - [22/Feb/2009: 17:30:19 +0800] "POST / photos HTTP/1.1" 301 0 "http://baicaonet.com/photos/new?id=1&type = Album "" Mozilla/4.0 (compa tible; MSIE 7.0; Windows NT 5.1;. NET CLR 1.1.4322; InfoPath.1) "
forefix automatically go get, non-normal business logic
12143 121.35.75.46 baicaonet.com - [22/Feb/2009: 17:30:19 +0800] "GET / photos / HTTP/1.1" 404 607 "http://baicaonet.com/photos/new?id=1&type = Album "" Mozilla/4.0 (com patible; MSIE 7.0; Windows NT 5.1;. NET CLR 1.1.4322; InfoPath.1) "
12144 121.35.75.46 baicaonet.com - [22/Feb/2009: 17:33:33 +0800] "GET / photos / new? Id = 1 & type = Album HTTP/1.1" 304 0 "http://baicaonet.com/ albums / 1 "" Mozilla/4.0 (comp atible; MSIE 7.0; Windows NT 5.1;. NET CLR 1.1.4322; InfoPath.1) "
webrick normal
121.35.75.46 - - [22/Feb/2009: 16:59:55 CST] "POST / photos HTTP/1.1" 302 100
http://baicaonet.com:3000/photos/new?id=1&type=Album -> / photos
Normal business logic, look after the success of Show
121.35.75.46 - - [22/Feb/2009: 16:59:59 CST] "GET / photos / 4 HTTP/1.1" 200 6834
http://baicaonet.com:3000/photos/new?id=1&type=Album -> / photos / 4
121.35.75.46 - - [22/Feb/2009: 17:00:00 CST] "GET / images / new / share.gif HTTP/1.1" 200 137







