Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Update README.rst #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,20 @@ The source tree is based on autotools to configure the building, and
does also have the necessary bits in place to do functional unit tests
using the varnishtest tool.

Usage::
1.Usage::

./configure VARNISHSRC=DIR [VMODDIR=DIR]

2. installation on centos6 with varnish 3.0 ~3.05
::
yum install python-docutils -y
git clone -b varnish-3 https://github.com/fastly/libvmod-urlcode.git
sh autogen.sh
./configure VARNISHSRC=varnish src dir VMODDIR= varnish installed dir /lib/varnish/vmods/
eg:
./configure VARNISHSRC=/usr/local/src/varnish-3.0.5/ VMODDIR=/usr/local/varnish/lib/varnish/vmods/
make &&make install

`VARNISHSRC` is the directory of the Varnish source tree for which to
compile your vmod. Both the `VARNISHSRC` and `VARNISHSRC/include`
will be added to the include search paths for your module.
Expand Down