From 0b1d5d954d304c4e84c0577457217492034a9daf Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Tue, 12 Dec 2017 01:47:36 +1030 Subject: added .htaccess fileand copy it in setup.sh, changed template links to not directly link to my site, woops. --- htaccess.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 htaccess.txt (limited to 'htaccess.txt') diff --git a/htaccess.txt b/htaccess.txt new file mode 100644 index 0000000..49ba89a --- /dev/null +++ b/htaccess.txt @@ -0,0 +1,8 @@ +Options +SymLinksIfOwnerMatch +Order Allow,Deny +Allow from all +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^([A-Za-z0-9-]+)/?$ $1.html [NC,QSA] +DirectoryIndex 1.html -- cgit v1.2.3