diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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"); } } |