Skip to content

Commit

Permalink
add public captive page
Browse files Browse the repository at this point in the history
  • Loading branch information
openmindculture committed Apr 26, 2022
1 parent a98aed1 commit 0d4645a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ wordpress
data
akismet
hello.php
index.php
twentytwenty-child.zip
twentytwenty-child.zip
3 changes: 3 additions & 0 deletions captive.open-mind-culture.org/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<ifModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=0"
</ifModule>
10 changes: 10 additions & 0 deletions captive.open-mind-culture.org/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

if (!headers_sent()) {
header('Status: 200 OK');
header('Cache-Control: no-cache');
header('Content-Type: text/html');
header('Strict-Transport-Security: max-age=0;');
}
?><!DOCTYPE html><html lang="en"><head><title>Success - captive.open-mind-culture.org</title><meta charset="UTF-8">
</head><body><h1>Success</h1><a href="https://www.open-mind-culture.org">Visit open-mind-culture.org</a></body></html>

0 comments on commit 0d4645a

Please sign in to comment.