aboutsummaryrefslogtreecommitdiffstats
path: root/var
diff options
context:
space:
mode:
authorFilip Komar <filip@mageia.org>2012-09-14 20:34:07 +0000
committerFilip Komar <filip@mageia.org>2012-09-14 20:34:07 +0000
commit6699e1d4fcb671c04378cd32909febb4fc4f3e4d (patch)
tree6a74f46860d22e8230649b21e83f75f229a6511e /var
parent6048119649a87ef786d50d570982faed9a3a087e (diff)
downloadwww-6699e1d4fcb671c04378cd32909febb4fc4f3e4d.tar
www-6699e1d4fcb671c04378cd32909febb4fc4f3e4d.tar.gz
www-6699e1d4fcb671c04378cd32909febb4fc4f3e4d.tar.bz2
www-6699e1d4fcb671c04378cd32909febb4fc4f3e4d.tar.xz
www-6699e1d4fcb671c04378cd32909febb4fc4f3e4d.zip
temporary copy for 404
Diffstat (limited to 'var')
-rw-r--r--var/www/html/404.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/var/www/html/404.php b/var/www/html/404.php
new file mode 100644
index 000000000..575f37167
--- /dev/null
+++ b/var/www/html/404.php
@@ -0,0 +1,36 @@
+<?php
+define('HLANG', true);
+require 'langs.php'; // needs absolute path in some form to be link depth independent
+_lang_load($locale, '404');
+
+header('HTTP/1.0 404 Not Found');
+header('Status: 404 Not Found');
+
+?><!DOCTYPE html>
+<html dir="ltr" lang="<?php echo $locale; ?>">
+<head>
+ <meta charset="utf-8">
+ <title><?php _e('Sorry, we could not find this page.')?></title>
+ <meta http-equiv="expires" content="0">
+ <meta name="robots" content="noindex, nofollow">
+ <meta name="author" content="Mageia">
+ <link rel="stylesheet" type="text/css" href="/g/style/all.css">
+ <?php include 'analytics.php'; ?>
+</head>
+<body>
+ <?php echo $hsnav; ?>
+ <h1 id="mgnavt"><?php _e('Sorry, we could not find this page.')?></h1>
+ <div id="doc" class="yui-t7">
+ <div id="bd" role="main">
+ <div class="yui-g">
+ <div class="para values">
+ <ul class="hl"><?php
+ _h('Try searching it on <a href="%s">mageia.org site map</a>,', array('/map/'), 'li');
+ _h('or try to <a href="%s">search with Google</a>.', array('https://www.google.com/?q=site:mageia.org'), 'li');
+ ?></ul>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>