Rewrite With Varnish

Norberto Meijome numard at gmail.com
Sun Sep 1 13:39:22 CEST 2013


Hi, varnish does not, AFAIK, support SSL , so reading fields from a cert
seems to me as not doable.
On 01/09/2013 7:52 AM, "Christian Felsing" <pug at felsing.net> wrote:

> Hello,
>
> is there a rewrite method in Varnish which has same effect like following
> rule in Apache 2.4?
>
> RewriteRule ^/(.*)$
> http://plone:8080/VirtualHostBase/https/plone.example.net:443/cms/VirtualHostRoot/$1
> [L,P,E=remoteUser:%{LA-U:SSL_CLIENT_S_DN_CN}]
>
> This rule reads CN from a client certificate and set remoteUser to CN.
>
> best regards
> Christian
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130901/e0e3a239/attachment.html>


More information about the varnish-misc mailing list