can't log in or create new users on mediawiki

Tim Dunphy bluethundr at
Mon Aug 17 21:43:54 CEST 2015

I based my vanrish config on these recommendations from mediawiki:

And I do have that setting in my VLC that bypasses the cache for any
cookies it finds:

     # Pass requests from logged-in users directly.
     if (req.http.Authorization || req.http.Cookie)
           {return(pass);}      /* Not cacheable by default */

you could also check req.http.Cookie's content to check if the session
cookie is there, and not unset them in this case. In other cases when user
is not logged in, it's probably safe to unset them and show the static
version of the page from cache, instead of the logged in version.

That's a good suggestion. I'll look into how to do that!

In the meantime, I'll enclose my current VCL as an attachment, in case
there are any other suggestions based on what I have in the config.


On Mon, Aug 17, 2015 at 12:47 PM, Poul-Henning Kamp <phk at>

> --------
> I think I saw a mediawiki/wikimedia (I can never figure out how
> that split is supposed to work...) page about setting up Varnish
> in front.  Have you checked if there's a explanation there ?
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

GPG me!!

gpg --keyserver --recv-keys F186197B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default.vcl
Type: application/octet-stream
Size: 7883 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list