This commit is contained in:
Lloyd Brookes
2016-06-20 20:32:32 +01:00
parent ef9bbf8066
commit 22612bbcf4
34 changed files with 59 additions and 88 deletions

View File

@ -0,0 +1,5 @@
{
"forbid": [
"/admin/*", "*.php"
]
}

View File

@ -0,0 +1 @@
<h1>Forbidden page</h1>

View File

@ -0,0 +1 @@
<h1>A permitted page</h1>

View File

@ -0,0 +1,5 @@
<h1>Forbidden routes</h1>
<p>
Notice you can access <a href="allowed.html">this page</a>, but not <a href="admin/blocked.html">this admin page</a> or <a href="something.php">php file</a>.
</p>

View File

@ -0,0 +1 @@
<?php echo "i'm coding PHP templatez!\n" ?>