Rewrite With Varnish

Christian Felsing pug at felsing.net
Sat Aug 31 23:04:52 CEST 2013


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



More information about the varnish-misc mailing list