From 0d94899991375e7ba0ef858a01cd789972006dd5 Mon Sep 17 00:00:00 2001
From: maniacikarus
Date: Sat, 12 May 2007 18:52:34 +0000
Subject: [PATCH] Proxy.cgi von den IPCop Error Pages befreit, da nicht
existent ausserdem gleich mal unsere eigenen Errorspages gebaut :D
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@553 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
---
.../errors.ipfire/English/ERR_ACCESS_DENIED | 40 +++++++++
.../English/ERR_CACHE_ACCESS_DENIED | 49 +++++++++++
.../English/ERR_CACHE_MGR_ACCESS_DENIED | 82 +++++++++++++++++++
.../errors.ipfire/English/ERR_CANNOT_FORWARD | 45 ++++++++++
.../errors.ipfire/English/ERR_CONNECT_FAIL | 43 ++++++++++
.../proxy/errors.ipfire/English/ERR_DNS_FAIL | 47 +++++++++++
.../English/ERR_FORWARDING_DENIED | 41 ++++++++++
.../errors.ipfire/English/ERR_FTP_DISABLED | 39 +++++++++
.../errors.ipfire/English/ERR_FTP_FAILURE | 35 ++++++++
.../errors.ipfire/English/ERR_FTP_FORBIDDEN | 35 ++++++++
.../errors.ipfire/English/ERR_FTP_NOT_FOUND | 38 +++++++++
.../errors.ipfire/English/ERR_FTP_PUT_CREATED | 19 +++++
.../errors.ipfire/English/ERR_FTP_PUT_ERROR | 42 ++++++++++
.../English/ERR_FTP_PUT_MODIFIED | 19 +++++
.../errors.ipfire/English/ERR_FTP_UNAVAILABLE | 31 +++++++
.../errors.ipfire/English/ERR_INVALID_REQ | 49 +++++++++++
.../errors.ipfire/English/ERR_INVALID_RESP | 45 ++++++++++
.../errors.ipfire/English/ERR_INVALID_URL | 45 ++++++++++
.../errors.ipfire/English/ERR_LIFETIME_EXP | 40 +++++++++
.../proxy/errors.ipfire/English/ERR_NO_RELAY | 39 +++++++++
.../English/ERR_ONLY_IF_CACHED_MISS | 44 ++++++++++
.../errors.ipfire/English/ERR_READ_ERROR | 44 ++++++++++
.../errors.ipfire/English/ERR_READ_TIMEOUT | 44 ++++++++++
.../errors.ipfire/English/ERR_SHUTTING_DOWN | 34 ++++++++
.../errors.ipfire/English/ERR_SOCKET_FAILURE | 44 ++++++++++
.../proxy/errors.ipfire/English/ERR_TOO_BIG | 44 ++++++++++
.../proxy/errors.ipfire/English/ERR_UNSUP_REQ | 40 +++++++++
.../errors.ipfire/English/ERR_URN_RESOLVE | 39 +++++++++
.../errors.ipfire/English/ERR_WRITE_ERROR | 44 ++++++++++
.../English/ERR_ZERO_SIZE_OBJECT | 39 +++++++++
.../errors.ipfire/German/ERR_ACCESS_DENIED | 42 ++++++++++
.../German/ERR_CACHE_ACCESS_DENIED | 46 +++++++++++
.../German/ERR_CACHE_MGR_ACCESS_DENIED | 48 +++++++++++
.../errors.ipfire/German/ERR_CANNOT_FORWARD | 44 ++++++++++
.../errors.ipfire/German/ERR_CONNECT_FAIL | 42 ++++++++++
.../proxy/errors.ipfire/German/ERR_DNS_FAIL | 48 +++++++++++
.../German/ERR_FORWARDING_DENIED | 41 ++++++++++
.../errors.ipfire/German/ERR_FTP_DISABLED | 37 +++++++++
.../errors.ipfire/German/ERR_FTP_FAILURE | 43 ++++++++++
.../errors.ipfire/German/ERR_FTP_FORBIDDEN | 37 +++++++++
.../errors.ipfire/German/ERR_FTP_NOT_FOUND | 42 ++++++++++
.../errors.ipfire/German/ERR_FTP_PUT_CREATED | 19 +++++
.../errors.ipfire/German/ERR_FTP_PUT_ERROR | 38 +++++++++
.../errors.ipfire/German/ERR_FTP_PUT_MODIFIED | 19 +++++
.../errors.ipfire/German/ERR_FTP_UNAVAILABLE | 38 +++++++++
.../errors.ipfire/German/ERR_INVALID_REQ | 50 +++++++++++
.../errors.ipfire/German/ERR_INVALID_RESP | 45 ++++++++++
.../errors.ipfire/German/ERR_INVALID_URL | 46 +++++++++++
.../errors.ipfire/German/ERR_LIFETIME_EXP | 40 +++++++++
.../proxy/errors.ipfire/German/ERR_NO_RELAY | 37 +++++++++
.../German/ERR_ONLY_IF_CACHED_MISS | 43 ++++++++++
.../proxy/errors.ipfire/German/ERR_READ_ERROR | 44 ++++++++++
.../errors.ipfire/German/ERR_READ_TIMEOUT | 46 +++++++++++
.../errors.ipfire/German/ERR_SHUTTING_DOWN | 36 ++++++++
.../errors.ipfire/German/ERR_SOCKET_FAILURE | 45 ++++++++++
config/proxy/errors.ipfire/German/ERR_TOO_BIG | 46 +++++++++++
.../proxy/errors.ipfire/German/ERR_UNSUP_REQ | 41 ++++++++++
.../errors.ipfire/German/ERR_URN_RESOLVE | 39 +++++++++
.../errors.ipfire/German/ERR_WRITE_ERROR | 44 ++++++++++
.../errors.ipfire/German/ERR_ZERO_SIZE_OBJECT | 39 +++++++++
html/cgi-bin/proxy.cgi | 15 ++--
lfs/squid | 2 +
62 files changed, 2474 insertions(+), 7 deletions(-)
create mode 100644 config/proxy/errors.ipfire/English/ERR_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/English/ERR_CACHE_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/English/ERR_CACHE_MGR_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/English/ERR_CANNOT_FORWARD
create mode 100644 config/proxy/errors.ipfire/English/ERR_CONNECT_FAIL
create mode 100644 config/proxy/errors.ipfire/English/ERR_DNS_FAIL
create mode 100644 config/proxy/errors.ipfire/English/ERR_FORWARDING_DENIED
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_DISABLED
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_FAILURE
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_FORBIDDEN
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_NOT_FOUND
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_PUT_CREATED
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_PUT_ERROR
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_PUT_MODIFIED
create mode 100644 config/proxy/errors.ipfire/English/ERR_FTP_UNAVAILABLE
create mode 100644 config/proxy/errors.ipfire/English/ERR_INVALID_REQ
create mode 100644 config/proxy/errors.ipfire/English/ERR_INVALID_RESP
create mode 100644 config/proxy/errors.ipfire/English/ERR_INVALID_URL
create mode 100644 config/proxy/errors.ipfire/English/ERR_LIFETIME_EXP
create mode 100644 config/proxy/errors.ipfire/English/ERR_NO_RELAY
create mode 100644 config/proxy/errors.ipfire/English/ERR_ONLY_IF_CACHED_MISS
create mode 100644 config/proxy/errors.ipfire/English/ERR_READ_ERROR
create mode 100644 config/proxy/errors.ipfire/English/ERR_READ_TIMEOUT
create mode 100644 config/proxy/errors.ipfire/English/ERR_SHUTTING_DOWN
create mode 100644 config/proxy/errors.ipfire/English/ERR_SOCKET_FAILURE
create mode 100644 config/proxy/errors.ipfire/English/ERR_TOO_BIG
create mode 100644 config/proxy/errors.ipfire/English/ERR_UNSUP_REQ
create mode 100644 config/proxy/errors.ipfire/English/ERR_URN_RESOLVE
create mode 100644 config/proxy/errors.ipfire/English/ERR_WRITE_ERROR
create mode 100644 config/proxy/errors.ipfire/English/ERR_ZERO_SIZE_OBJECT
create mode 100644 config/proxy/errors.ipfire/German/ERR_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/German/ERR_CACHE_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/German/ERR_CACHE_MGR_ACCESS_DENIED
create mode 100644 config/proxy/errors.ipfire/German/ERR_CANNOT_FORWARD
create mode 100644 config/proxy/errors.ipfire/German/ERR_CONNECT_FAIL
create mode 100644 config/proxy/errors.ipfire/German/ERR_DNS_FAIL
create mode 100644 config/proxy/errors.ipfire/German/ERR_FORWARDING_DENIED
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_DISABLED
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_FAILURE
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_FORBIDDEN
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_NOT_FOUND
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_PUT_CREATED
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_PUT_ERROR
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_PUT_MODIFIED
create mode 100644 config/proxy/errors.ipfire/German/ERR_FTP_UNAVAILABLE
create mode 100644 config/proxy/errors.ipfire/German/ERR_INVALID_REQ
create mode 100644 config/proxy/errors.ipfire/German/ERR_INVALID_RESP
create mode 100644 config/proxy/errors.ipfire/German/ERR_INVALID_URL
create mode 100644 config/proxy/errors.ipfire/German/ERR_LIFETIME_EXP
create mode 100644 config/proxy/errors.ipfire/German/ERR_NO_RELAY
create mode 100644 config/proxy/errors.ipfire/German/ERR_ONLY_IF_CACHED_MISS
create mode 100644 config/proxy/errors.ipfire/German/ERR_READ_ERROR
create mode 100644 config/proxy/errors.ipfire/German/ERR_READ_TIMEOUT
create mode 100644 config/proxy/errors.ipfire/German/ERR_SHUTTING_DOWN
create mode 100644 config/proxy/errors.ipfire/German/ERR_SOCKET_FAILURE
create mode 100644 config/proxy/errors.ipfire/German/ERR_TOO_BIG
create mode 100644 config/proxy/errors.ipfire/German/ERR_UNSUP_REQ
create mode 100644 config/proxy/errors.ipfire/German/ERR_URN_RESOLVE
create mode 100644 config/proxy/errors.ipfire/German/ERR_WRITE_ERROR
create mode 100644 config/proxy/errors.ipfire/German/ERR_ZERO_SIZE_OBJECT
diff --git a/config/proxy/errors.ipfire/English/ERR_ACCESS_DENIED b/config/proxy/errors.ipfire/English/ERR_ACCESS_DENIED
new file mode 100644
index 0000000000..33439497b4
--- /dev/null
+++ b/config/proxy/errors.ipfire/English/ERR_ACCESS_DENIED
@@ -0,0 +1,40 @@
+
+
+ERROR: The requested URL could not be retrieved
+
+
+
+Sorry ... The requested URL could not be retrieved
+
+
+ |
+
+
+
+
+
+While trying to retrieve the URL:
+%U
+
+The following error was encountered:
+
+Your cache administrator is %w.
+
+
+
+ |
+
+
+Generated %T by %h (%s)
+
+
+
diff --git a/config/proxy/errors.ipfire/English/ERR_CACHE_ACCESS_DENIED b/config/proxy/errors.ipfire/English/ERR_CACHE_ACCESS_DENIED
new file mode 100644
index 0000000000..a89387057f
--- /dev/null
+++ b/config/proxy/errors.ipfire/English/ERR_CACHE_ACCESS_DENIED
@@ -0,0 +1,49 @@
+
+
+ERROR: Cache Access Denied
+
+
+
+Sorry ... Cache Access Denied
+
+
+ |
+
+
+
+
+
+While trying to retrieve the URL:
+%U
+
+The following error was encountered:
+
+-
+
+Cache Access Denied.
+
+
+
+
+Sorry, you are not currently allowed to request:
+ %U
+from this cache until you have authenticated yourself.
+
+
+
+You need to use Netscape version 2.0 or greater, or Microsoft Internet
+Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please
+contact the cache administrator if you have
+difficulties authenticating yourself or
+change your default password.
+
+
+
+
+ |
+
+
+Generated %T by %h (%s)
+
+
+
diff --git a/config/proxy/errors.ipfire/English/ERR_CACHE_MGR_ACCESS_DENIED b/config/proxy/errors.ipfire/English/ERR_CACHE_MGR_ACCESS_DENIED
new file mode 100644
index 0000000000..510405c572
--- /dev/null
+++ b/config/proxy/errors.ipfire/English/ERR_CACHE_MGR_ACCESS_DENIED
@@ -0,0 +1,82 @@
+
+While trying to retrieve the URL:
+%U
+
+The following error was encountered:
+
+-
+
+Cache Manager Access Denied.
+
+
+
+
+Sorry, you are not currently allowed to request:
+
%U
+from this cache manager until you have authenticated yourself.
+
+
+ You need to use Netscape version 2.0 or greater, or Microsoft Internet
+Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please
+contact the cache administrator if you have
+difficulties authenticating yourself or, if you are the
+administrator, read Squid documentation on cache manager interface and check
+cache log for more detailed error messages.
+
+
+
+
+Generated %T by %h (%s)
+
+
+
+