varnish daemon as non root - vmods libraries directory

Remo Furlanetto remofurlanetto at gmail.com
Sat Jun 10 00:16:26 CEST 2017


Hi Dridi,

Thank you for your answer.

I have found a solution. I had to execute the script "configure" with
--exec-prefix
wget https://repo.varnish-cache.org/source/varnish-5.1.2.tar.gz
tar -xvzf varnish-5.1.2.tar.gz
cd varnish-5.1.2
./autogen.sh
./configure --prefix=/home/docker/varnish --exec-prefix=/home/docker/varnish
make
make install


Thank you

Remo.

On Fri, Jun 9, 2017 at 11:37 PM, Dridi Boukelmoune <dridi at varni.sh> wrote:

> On Fri, Jun 9, 2017 at 10:10 PM, Remo Furlanetto
> <remofurlanetto at gmail.com> wrote:
> > Hi,
> >
> > Is there one way to configure varnish to read the vmods libraries in a
> > different directory?
>
> You can use the `from` keyword:
>
>     import <name> from <path>;
>
> There is also a vmod_dir or vmod_path parameter depending on your
> version of Varnish, see man varnishd.
>
> Dridi
>



-- 
*Remo M. Furlanetto*
*E-mail:* *remofurlanetto at gmail.com <remofurlanetto at gmail.com>*
*Telefone:* (11) 99910-0565
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170610/281ed613/attachment.html>


More information about the varnish-misc mailing list