*.src middleware