added 404 page and htaccess

This commit is contained in:
Wyatt J. Miller 2019-01-08 12:06:40 -05:00
parent 18609060fc
commit 52ab74b793
3 changed files with 25 additions and 1 deletions

1
src/.htaccess Normal file
View File

@ -0,0 +1 @@
ErrorDocument 404 /404.php

23
src/404.php Normal file
View File

@ -0,0 +1,23 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</head>
<body>
<?php require_once "header.php"; ?>
<div class="col-xs-12">
<div class="main-section">
<div class="main-background">
<h2>Whoopsie!</h2>
<h2>I don't think this is supposed to happen...</h2><br>
<p class="main-background-text">I'm so sorry! This page doesn't exist!</p>
<p class="main-background-text"> <a href="mailto:wjmiller2016@gmail.com">Email</a> me about what happened and I can diagnose your problem!</p>
</div>
</div>
</div>
<?php require_once "footer.php"; ?>
</body>

View File

@ -19,7 +19,7 @@
<h4 class="main-background-text">December 2018 - <a href="https://github.com/wymillerlinux/DeskHubSharp">DeskHubSharp</a> was released!</h4> <h4 class="main-background-text">December 2018 - <a href="https://github.com/wymillerlinux/DeskHubSharp">DeskHubSharp</a> was released!</h4>
<h4 class="main-background-text">September 2018 - Started Miller Web Solutions</h4> <h4 class="main-background-text">September 2018 - Started Miller Web Solutions</h4>
<h4 class="main-background-text">June 2018 - This <a href="https://github.com/wymillerlinux/mywebsite">website</a> was released!</h4> <h4 class="main-background-text">June 2018 - This <a href="https://github.com/wymillerlinux/mywebsite">website</a> was released!</h4>
<h4 class="main-background-text">May 2018 - Recieved Assitant Developer certificate from Northwestern Michigan College</h4> <h4 class="main-background-text">May 2018 - Recieved Assistant Developer certificate from Northwestern Michigan College</h4>
<h4 class="main-background-text">May 2017 - <a href="https://github.com/wymillerlinux/lftpd">lftpd</a> was released!</h4> <h4 class="main-background-text">May 2017 - <a href="https://github.com/wymillerlinux/lftpd">lftpd</a> was released!</h4>
<h4 class="main-background-text">April 2017 - <a href="https://github.com/wymillerlinux/mtikrtr">mtikrtr</a> was released!</h4> <h4 class="main-background-text">April 2017 - <a href="https://github.com/wymillerlinux/mtikrtr">mtikrtr</a> was released!</h4>
<h4 class="main-background-text">December 2016 - <a href="https://github.com/jtperreault/political_ties">Political Ties</a> was started!</h4> <h4 class="main-background-text">December 2016 - <a href="https://github.com/jtperreault/political_ties">Political Ties</a> was started!</h4>