You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Luigi Bellio <lu...@gmail.com> on 2023/11/14 11:24:43 UTC
[users@httpd] Unable to unset Set-Cookie response header
Hi all,
we are using version 2.4.57 of Apache HTTPd with this configuration
<VirtualHost *:1080>
ServerName <OMITTED>:1080
CustomLog <OMITTED> combined
ErrorLog <OMITTED>
DocumentRoot "/usr/local/apache2/conf/extra"
<Directory /usr/local/apache2/conf/extra>
Require all granted
</Directory>
ErrorDocument 502 <OMITTED>
ErrorDocument 503 <OMITTED>
ProxyErrorOverride On
ProxyPass /favicon.ico !
ProxyPass /error/ !
*Header always unset Set-Cookie*
ProxyPreserveHost On
ProxyPass / http://<OMITTED>:1080/
ProxyPassReverse / http://<OMITTED>:1080/
</VirtualHost>
and the response header "Set-Cookie" returned by the proxied
backend is not unset and is returned to client. What is missing?
Thanks for your support?
Luigi Bellio.
Re: [users@httpd] Unable to unset Set-Cookie response header
Posted by Eric Covener <co...@gmail.com>.
> Header always unset Set-Cookie
Try without "always"
On Tue, Nov 14, 2023 at 6:25 AM Luigi Bellio <lu...@gmail.com> wrote:
>
> Hi all,
>
> we are using version 2.4.57 of Apache HTTPd with this configuration
>
> <VirtualHost *:1080>
> ServerName <OMITTED>:1080
> CustomLog <OMITTED> combined
> ErrorLog <OMITTED>
>
> DocumentRoot "/usr/local/apache2/conf/extra"
>
> <Directory /usr/local/apache2/conf/extra>
> Require all granted
> </Directory>
>
> ErrorDocument 502 <OMITTED>
> ErrorDocument 503 <OMITTED>
>
> ProxyErrorOverride On
>
> ProxyPass /favicon.ico !
> ProxyPass /error/ !
>
> Header always unset Set-Cookie
>
> ProxyPreserveHost On
>
> ProxyPass / http://<OMITTED>:1080/
> ProxyPassReverse / http://<OMITTED>:1080/
> </VirtualHost>
>
> and the response header "Set-Cookie" returned by the proxied backend is not unset and is returned to client. What is missing?
>
> Thanks for your support?
>
> Luigi Bellio.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org