{"action":"opened","issue":{"url":"https://api.github.com/repos/lkarsten/testrepo/issues/274","labels_url":"https://api.github.com/repos/lkarsten/testrepo/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/lkarsten/testrepo/issues/274/comments","events_url":"https://api.github.com/repos/lkarsten/testrepo/issues/274/events","html_url":"https://github.com/lkarsten/testrepo/issues/274","id":120423623,"number":274,"title":"[trac #274] Is it possible to deliver custom error page  ?","user":{"login":"lkarsten","id":108894,"avatar_url":"https://avatars.githubusercontent.com/u/108894?v=3","gravatar_id":"","url":"https://api.github.com/users/lkarsten","html_url":"https://github.com/lkarsten","followers_url":"https://api.github.com/users/lkarsten/followers","following_url":"https://api.github.com/users/lkarsten/following{/other_user}","gists_url":"https://api.github.com/users/lkarsten/gists{/gist_id}","starred_url":"https://api.github.com/users/lkarsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkarsten/subscriptions","organizations_url":"https://api.github.com/users/lkarsten/orgs","repos_url":"https://api.github.com/users/lkarsten/repos","events_url":"https://api.github.com/users/lkarsten/events{/privacy}","received_events_url":"https://api.github.com/users/lkarsten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T15:26:07Z","updated_at":"2015-12-04T15:26:07Z","closed_at":null,"body":"ISSUE 274 IMPORTED FROM TRAC FOR INDEXING.\nHello, \nMy name is Franck LEPRETTE ,  I'm currently working with varnish  with ezpublish and i have a problem.\n\nThe version is  :\n# varnishd  -V\nvarnishd (varnish-1.1.2)\nCopyright (c) 2006-2007 Linpro AS / Verdens Gang AS\nTHe operating system is Debian Etch and our web servers are Apache2.\n\nWe override the error page with our cms ezpublish , and now when someone tries to get an inexistant URL, he is redirected to the home page with a warning text (but we still send the 404 error code).\nThe problem is that varnish doesn't deliver this page, and we still get a 404 error code with no custom page.\nDo you know how to configure varnish in order to get it work ?\n\nI tried this code but it doesn't seem to work :\nsub vcl_fetch \n{ if (obj.status == 404) {pass;} }\n\nI also tried to find some documentation about this problem, but i didn't found any. Do you know if it's possible to perform this operation and how ? \n\n\nThanks in advance.\nKind regards\n\n\n\n\n"}}