Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc
Re: Rewriting/enforcing SSL behing an SSL termination point
 

Index | Next | Previous | View Flat


perbu at varnish-software

Jan 3, 2012, 6:24 AM


Views: 771
Permalink
Re: Rewriting/enforcing SSL behing an SSL termination point [In reply to]

Hi Cian,

On Sun, Jan 1, 2012 at 2:22 AM, Cian Mc Govern <cianmcgovern91 [at] gmail>wrote:

I'm having an issue when I try to implement the redirect and reload varnish:
>
> Message from VCC-compiler:
> Expected variable, string or semicolon
> (input Line 17 Pos 68)
> set req.http.x-redir-url = "https://www.cianmcgovern.com/" +
> req.url;
>
> ---------------------------------------------------------------------------#---------
>
> Can't find a solution to this but I suspect it might be due to the
> version, 2.1.5, I'm using??
>

In 2.1 string concatenation looks like this:
set req.http.x-redir-url = "https://www.cianmcgovern.com/" req.url;

In 3.0 this was done explicit using "+".


> Thanks for any help!
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc [at] varnish-cache
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



--
Per Buer, CEO
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>

Subject User Time
Rewriting/enforcing SSL behing an SSL termination point jason at pethub Dec 8, 2011, 11:08 PM
    Re: Rewriting/enforcing SSL behing an SSL termination point varnish at mm Dec 8, 2011, 11:45 PM
    Re: Rewriting/enforcing SSL behing an SSL termination point perbu at varnish-software Dec 9, 2011, 12:48 AM
    Re: Rewriting/enforcing SSL behing an SSL termination point jason at pethub Dec 14, 2011, 8:40 PM
        Re: Rewriting/enforcing SSL behing an SSL termination point jason at pethub Dec 15, 2011, 12:51 PM
            Re: Rewriting/enforcing SSL behing an SSL termination point cosimo at streppone Dec 19, 2011, 6:27 AM
                Re: Rewriting/enforcing SSL behing an SSL termination point jason at pethub Dec 20, 2011, 2:04 AM
    Re: Rewriting/enforcing SSL behing an SSL termination point cianmcgovern91 at gmail Dec 31, 2011, 5:22 PM
    Re: Rewriting/enforcing SSL behing an SSL termination point perbu at varnish-software Jan 3, 2012, 6:24 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.