We have a website that is using a subdomain: blog.naturah.local. A proxy pass is set up for this, and it is pointong to: naturah.local/blog. We are setting gdpr cookies so that we provide the domain name in order to make the cookie available for the subdomain. When I have a look at the allowed cookied in chrome from blog.naturah.local, I can see the gdpr cookies in the list, the domain is naturah.local. But I can not access it from $_COOKIE['gdpr_privacy_bar'] it is not set, and the alow cookies bar is always showing under the subdomain. How can I get the values of cookies set under root doman from subdomain?
<VirtualHost *:80>
ServerName blog.naturah.local
RewriteEngine on
ProxyPassInterpolateEnv On
RewriteCond %{REQUEST_URI} ^/public/.*$
RewriteRule (.*) http://naturah.local/$1 [P]
RewriteRule (.*) http://naturah.local/blog/$1 [P,E=proxy_pass_path:/blog]
ProxyPassReverse / http://naturah.local/${proxy_pass_path}/ interpolate
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/wamp/www/naturah/"
ServerName naturah.local
ServerAlias naturah.eva.wb
</VirtualHost>