Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Testable mobile redirection VCL snippet

  • Loading branch information...
commit d6f18826d910801aac9681fdef4b84675e5a9f12 1 parent dcfb8d9
Lasse Karstensen authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  INSTALL.rst
View
3  INSTALL.rst
@@ -57,11 +57,12 @@ VCL::
sub vcl_error {
if (obj.status == 750) {
- set obj.http.Location = "http://m.example.com/";
+ set obj.http.Location = "http://m.example.com" + req.url;
set obj.status = 302;
return(deliver);
}
}
+
... 065-redir-mobile-end
Signaling device type to the backend
Please sign in to comment.
Something went wrong with that request. Please try again.