aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-07-14 15:49:09 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-07-14 15:49:09 +0300
commit7111da4edcbff6f8a27af53bb340e31ea3c25867 (patch)
tree94034d41cb9fc26c3382408f3d2ef83c9cbfd385 /README
parent72ccd492bcf4979e6de11569a46ea47040897865 (diff)
downloadvmod-dbrw-7111da4edcbff6f8a27af53bb340e31ea3c25867.tar.gz
vmod-dbrw-7111da4edcbff6f8a27af53bb340e31ea3c25867.tar.bz2
Add PostgreSQL support.
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index b177149..a7f7636 100644
--- a/README
+++ b/README
@@ -8,8 +8,7 @@ structure, considerably speeding up their handling. Another advantage
of this approach is that rewrite rules stored in a database are easier
to maintain.
-This version supports MySQL databases. Support for PostgreSQL will be
-added soon.
+This version supports MySQL and PostgreSQL databases.
* Example
@@ -37,7 +36,7 @@ sub vcl_recv {
set req.http.X-Redirect-To =
dbrw.rewrite("host=" + req.http.Host + ";" +
"url=" + req.url);
- if (req.http.X-Redirect-To) {
+ if (req.http.X-Redirect-To != "") {
error(750, "Redirect");
}
}

Return to:

Send suggestions and report system problems to the System administrator.