<div dir="ltr">Hey all,<div><br></div><div> I've setup my mediawiki behind varnish. Since doing that I am unable to either create new users or log into the wiki itself. </div><div> </div><div>I've tried putting the following into my vcl_recv, however that didn't seem to help as I'd expected:</div><div><br></div><div><div>   if ( req.http.host ~ "^wiki\.example\.com$" && req.url ~ "^/index.php?title=Special:UserLogin&returnto=Main+Page&type=signup" ) {</div><div>    return (pass) ;</div><div>   }</div><div><br></div><div>   if ( req.http.host ~ "^wiki\.example\.com$" && req.url ~ "^/index.php?title=Special:UserLogin&returnto=Main+Page&returntoquery=action%3Dsubmitlogin%26type%3Dlogin$" ) {</div><div>    return (pass);</div><div>   }</div><div><br></div><div>What happens is that when you try to login, or create a new user instead of doing either the page will just refresh. And the new user isn't created or you are not logged in.</div><div><br></div><div>I've been able to verify that the new user isn't created by looking at the users tables in the wiki database. And the user you are trying to create doesn't appear.</div><div><br></div><div>Can someine please tell me what I'm doing wrong in my VCL?</div><div><br></div><div>Thanks,</div><div>Tim</div><div><br></div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div></div>