Apache will use the first matching ProxyPass, so the one for the folder needs to come first, since / will match any request. The ! tells Apache not to proxy that path. The retry=0 is a useful addition, if your Arc server is down it tells Apache not to wait to retry it; that way Apache will start proxying again immediately when your Arc server comes back up.