Skip to content

Commit

Permalink
Fix ErrorDocument paths (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzzy authored Dec 30, 2023
1 parent 3984a93 commit 26a327f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RewriteRule ^$ ./views/main.php
RewriteRule ^outreach$ ./views/outreach.php

# ERROR PAGES
ErrorDocument 400 ./views/error/400.php
ErrorDocument 401 ./views/error/401.php
ErrorDocument 403 ./views/error/403.php
ErrorDocument 404 ./views/error/404.php
ErrorDocument 500 ./views/error/500.php
ErrorDocument 400 /views/error/400.php
ErrorDocument 401 /views/error/401.php
ErrorDocument 403 /views/error/403.php
ErrorDocument 404 /views/error/404.php
ErrorDocument 500 /views/error/500.php
2 changes: 1 addition & 1 deletion views/error/error-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
Looks like you've encountered an error on our page. It's not you, it's
us. <br />
<br />
<a href="/lab">Take me home!</a>
<a href="/">Take me home!</a>
</p>
</div>
</div>
Expand Down

0 comments on commit 26a327f

Please sign in to comment.