diff options
author | daniel-Jones <daniel@danieljon.es> | 2017-12-12 01:47:36 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2017-12-12 01:47:36 +1030 |
commit | 0b1d5d954d304c4e84c0577457217492034a9daf (patch) | |
tree | b2b9cd12001c4f077235d013dd37ccb27947d88d /htaccess.txt | |
parent | a970bdfd4705cb43d472fd4adcfd6155a401083c (diff) | |
download | website-0b1d5d954d304c4e84c0577457217492034a9daf.tar.gz website-0b1d5d954d304c4e84c0577457217492034a9daf.zip |
added .htaccess fileand copy it in setup.sh, changed template links to not directly link to my site, woops.
Diffstat (limited to 'htaccess.txt')
-rw-r--r-- | htaccess.txt | 8 |
1 files changed, 8 insertions, 0 deletions
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 |