1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-22 03:22:57 +02:00

fix: title and paths in error pages

This commit is contained in:
oupala
2018-03-04 20:58:23 +01:00
parent 1164a1b48f
commit 2eeb079790
7 changed files with 16 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
# Apaxy by @adamwhitcroft # Apaxy by @adamwhitcroft
# #
# For a full breakdown of the mod_autoindex module: # For a full breakdown of the mod_autoindex module:
# http://apache.org/docs/2.2/mod/mod_autoindex.html # http://apache.org/docs/2.4/mod/mod_autoindex.html
# #
# ENABLE INDEXING # ENABLE INDEXING
@@ -96,9 +96,9 @@ IndexStyleSheet "/{FOLDERNAME}/theme/style.css"
# ERROR PAGES # ERROR PAGES
# #
ErrorDocument 400 http://%{HTTP_HOST}/{FOLDERNAME}/theme/400.html ErrorDocument 400 /{FOLDERNAME}/theme/400.html
ErrorDocument 403 http://%{HTTP_HOST}/{FOLDERNAME}/theme/403.html ErrorDocument 403 /{FOLDERNAME}/theme/403.html
ErrorDocument 404 http://%{HTTP_HOST}/{FOLDERNAME}/theme/404.html ErrorDocument 404 /{FOLDERNAME}/theme/404.html
ErrorDocument 408 http://%{HTTP_HOST}/{FOLDERNAME}/theme/408.html ErrorDocument 408 /{FOLDERNAME}/theme/408.html
ErrorDocument 500 http://%{HTTP_HOST}/{FOLDERNAME}/theme/500.html ErrorDocument 500 /{FOLDERNAME}/theme/500.html
ErrorDocument 502 http://%{HTTP_HOST}/{FOLDERNAME}/theme/502.html ErrorDocument 502 /{FOLDERNAME}/theme/502.html

View File

@@ -3,10 +3,10 @@
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 403</title> <title>Error 400</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">

View File

@@ -6,7 +6,7 @@
<title>Error 403</title> <title>Error 403</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">

View File

@@ -6,7 +6,7 @@
<title>Error 404</title> <title>Error 404</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">

View File

@@ -3,10 +3,10 @@
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 403</title> <title>Error 408</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">

View File

@@ -6,7 +6,7 @@
<title>Error 500</title> <title>Error 500</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">

View File

@@ -3,10 +3,10 @@
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Error 403</title> <title>Error 502</title>
<link rel="shortcut icon" href="img/icon.png"> <link rel="shortcut icon" href="img/icon.png">
<!-- Stylesheets --> <!-- Stylesheets -->
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="theme/style.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400' rel='stylesheet' type='text/css'>
</head> </head>
<body class="fadeDown"> <body class="fadeDown">