Add apache rule and cache headers.