Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
264bc4c7
Commit
264bc4c7
authored
Nov 23, 2012
by
Tollef Fog Heen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/obj.cookie/obj.http.set-cookie/
parent
f118ecf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cache_ban.c
bin/varnishd/cache/cache_ban.c
+1
-1
varnish-cli.rst
doc/sphinx/reference/varnish-cli.rst
+1
-1
No files found.
bin/varnishd/cache/cache_ban.c
View file @
264bc4c7
...
...
@@ -33,7 +33,7 @@
*
* req.url == "/foo"
* req.url ~ ".iso" && obj.size > 10MB
* req.http.host ~ "web1.com" && obj.set-cookie ~ "USER=29293"
* req.http.host ~ "web1.com" && obj.
http.
set-cookie ~ "USER=29293"
*
* We make the "&&" mandatory from the start, leaving the syntax space
* for latter handling of "||" as well.
...
...
doc/sphinx/reference/varnish-cli.rst
View file @
264bc4c7
...
...
@@ -306,7 +306,7 @@ Example: Ban all documents where the serving host is "example.com"
or "www.example.com", and where the Set-Cookie header received from
the backend contains "USERID=1663"::
req.http.host ~ "^(?i)(www\.)example.com$" && obj.set-cookie ~ "USERID=1663"
req.http.host ~ "^(?i)(www\.)example.com$" && obj.
http.
set-cookie ~ "USERID=1663"
SEE ALSO
========
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment