Fixing rawpath reverseproxy oc6

fixes #5266 

@butonic @karlitschek @bantu @bartv2 @kabum THX