aboutsummaryrefslogtreecommitdiff
path: root/_site/.htaccess
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-06-29 21:10:46 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-06-29 21:10:46 +0200
commit5c5014a95ae79af4b052b5011e7d0c11d6eae6a6 (patch)
tree2e01690505d48a296d1826096f974762f46380dc /_site/.htaccess
parentd2733aa17b7932dfb78e97639e7d568ac41b9ee1 (diff)
downloadunchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.gz
unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.tar.bz2
unchainedtech-5c5014a95ae79af4b052b5011e7d0c11d6eae6a6.zip
It's all done? Almost, just missing the RSS feed!
Diffstat (limited to '_site/.htaccess')
-rw-r--r--_site/.htaccess7
1 files changed, 5 insertions, 2 deletions
diff --git a/_site/.htaccess b/_site/.htaccess
index 9fd4c96..034d457 100644
--- a/_site/.htaccess
+++ b/_site/.htaccess
@@ -1,4 +1,7 @@
RewriteEngine on
RewriteBase /
-RewriteRule ^/?article/([a-zA-Z0-9_]+)$ /rewrites/article.php?i=$1 [L]
-RewriteRule ^/?assets/([a-zA-Z0-9_./]+)$ /rewrites/assets.php?i=$1 [L] \ No newline at end of file
+RewriteRule ^/?article/([a-zA-Z0-9_\-]+)$ /rewrites/article.php?i=$1 [L]
+RewriteRule ^/?assets/([a-zA-Z0-9_\-./]+)$ /rewrites/assets.php?i=$1 [L]
+
+ErrorDocument 404 /errs/404.php
+ErrorDocument 403 /errs/403.php \ No newline at end of file