Apache Cookies Set a cookie to be value parsed from another cookie: RewriteCond %{HTTP_COOKIE} ".*AMCV_9AE0F0145936E3790A495CAA%40AdobeOrg=.*%7CMCMID%7C([^;\ %]+).*" RewriteRule .* - [CO=MyNewCookie:"%1":.sports.aws.discovery.com:0]