removing 404 page and restoring htaccess
hiromipaw

hiromipaw commited on 2017-07-01 10:34:22
Zeige 2 geänderte Dateien mit 1 Einfügungen und 55 Löschungen.

... ...
@@ -1,6 +1,6 @@
1 1
 RewriteEngine On
2 2
 
3
-ErrorDocument 404 /404
3
+#ErrorDocument 404 /404
4 4
 
5 5
 # moved to /docs/
6 6
 RewriteRule ^faq(.*) /docs/faq$1 [R=301,L]
... ...
@@ -1,54 +0,0 @@
1
-<!DOCTYPE html>
2
- <html>
3
- <head>
4
-
5
-   <meta charset="utf-8">
6
-   <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
-   <meta name="viewport" content="width=device-width, initial-scale=1">
8
-   <meta name="author" content="The Tor Project, Inc.">
9
-   <meta name="description" content="The Tor Project's free software protects your privacy online. Site blocked? Email [mailto:gettor@torproject.org] for help downloading Tor Browser.">
10
-   <meta name="keywords" content="tor, tor project, tor browser, avoid censorship, traffic analysis, anonymous communications, privacy, avoid surveillance, online security, anonymous online, private browsing, anonymity online, online privacy, protect privacy, private mac browser, private windows browser, private android browser, linux browser, anonymity network, tor network, onion router, onion browser">
11
-   <meta property="og:image" content="https://www.torproject.org/images/tor-logo.jpg">
12
-{#meta#}
13
-
14
-   <title>$(TITLE)</title>
15
-
16
-   <link rel="icon" href="$(IMGROOT)/favicon.ico">
17
-   <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">">
18
-   <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">">
19
-
20
-   # begin WML to generate css/js paths
21
-   <ifneq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/$(STYLESHEET)" rel="stylesheet">">
22
-   <ifeq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/css/master.css" rel="stylesheet">">
23
-
24
-   #<link href="css/master.css" rel="stylesheet">
25
-   <!--[if lte IE 8]>
26
-   <link href="$(DOCROOT)/css/ie8-and-down.css" rel="stylesheet">
27
-   <![endif]-->
28
-   <!--[if lte IE 7]>
29
-   <link href="$(DOCROOT)/css/ie7-and-down.css" rel="stylesheet">
30
-   <![endif]-->
31
-   <!--[if IE 6]>
32
-   <link href="$(DOCROOT)/css/ie6.css" rel="stylesheet">
33
-   <![endif]-->
34
- #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
35
-   # end WML to generate css/js paths
36
-</head>
37
-<body>
38
-<div id="wrap">
39
-  <div id="header">
40
-    <h1 id="logo"><a href="<page index>">Tor</a></h1>
41
-  </div>
42
-</div>
43
-<p>The requested URL was not found at this server.</p>
44
-<div id="banner">
45
-
46
-  <p class="desc">Are you looking to download Tor and ended up here instead?</p>
47
-
48
-<div id="download">
49
-<a href="<page download/download-easy>">
50
-  <span class="download-tor">Download Tor</span></a>
51
-</div>
52
-</div>
53
-</body>
54
-</html>
55 0