From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 787244A65 for ; Tue, 24 May 2016 21:50:36 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id a136so91495667wme.0 for ; Tue, 24 May 2016 12:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=XYrR8SMMqYN2R9f3L8c00WM0VyEX22PUqHffTDTrxC0=; b=U5rPbLm/NzP1HDxujWyPkRh4KLNaZIhJiUhWh8ztkviV3niSnpDmFPqrCe0SbCFN8M H40l8xoKq+rfb8sP/FivB13Wv3KBWmHUSmLkyqOLHrSc32X4q2O7v4N2q959h+KQjdRa eqcwKIlj1NCwoBgMzpP8bLUdTCWp0+3bsai9YhyqpoqP7eiPHSb3r8j4tWjhz5ucJqEi m6himVuV8ACelc8+rN0dcIp6dvpcoGZY2oih/vU+Ftcn7bwJsH+n9EZqQY3o4bYVdwVs n5hqoI1Dwjsb1x5TVRhrnzT7n9wmnMCIuu3VK8w90iEnjHZmKauikSQq9ugtQFO1Y4oC 9Jag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=XYrR8SMMqYN2R9f3L8c00WM0VyEX22PUqHffTDTrxC0=; b=c6WmquuxCPBA2i8O6NCcxs9XP8Pg4v3lfew7o7qcJ72EWuei+qVyN1g4hcSnogclaY xXd2XCG22x5tU7/7nXmKd1KJ6k4E3FJFLo7SoD0NoAZLZxgGHPrl9lMb1B9H4EGarLDN 0APuXk+of8gfaBCbGhm+5YJ4FaIgs+ZAZvh02l2RbdoQXHUPYX6Be1ECsyfDZbxXubCx HX0Va/Be7NDtQYj5aZ48kckOlyt29M9rcHZav5I1/jEIQhSPuaNmJJ/e5tAlITCjlnmv /qI2l4MVfqc57sIddNuUqYtcNpr6M+QY7Z+iCUawRrasc3o7isD3Fg6Mmj7HYDMwLRWb y6Kw== X-Gm-Message-State: ALyK8tKiNzaY290zBR6m8/rPJ532OUENyLkoTdrHU0D4sQ/pgF/ELWyFtNrS42B9/pcQYlaC X-Received: by 10.28.103.2 with SMTP id b2mr525728wmc.28.1464119436233; Tue, 24 May 2016 12:50:36 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o8sm4869204wjs.19.2016.05.24.12.50.35 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2016 12:50:35 -0700 (PDT) From: Thomas Monjalon To: web@dpdk.org Date: Tue, 24 May 2016 21:49:17 +0200 Message-Id: <1464119357-10064-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-web] [PATCH] use full URLs in error pages X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2016 19:50:36 -0000 In order to serve 403 and 404 error pages outside of the web domain, the resources (css/img) must be pointed with an absolute full URL. The navigation links are also absolute to provide access to good pages when trying to access to a wrong sub-domain (e.g. error.dpdk.org). The page 403 is new and copied from 404. The full URL is stripped in the local server to be able to test these pages with local resources. Signed-off-by: Thomas Monjalon --- 404.html => 403.html | 27 ++++++++++++++------------- 404.html | 25 +++++++++++++------------ layout.css | 2 +- scripts/serve_local.py | 2 +- 4 files changed, 29 insertions(+), 27 deletions(-) copy 404.html => 403.html (50%) diff --git a/404.html b/403.html similarity index 50% copy from 404.html copy to 403.html index c5f2384..621875e 100644 --- a/404.html +++ b/403.html @@ -4,9 +4,9 @@ DPDK 404 - - - + + +