Fixing 404 logic for X-Accel View