diff options
author | Daniel Jones <daniel@danieljon.es> | 2017-12-11 22:43:34 -0500 |
---|---|---|
committer | Daniel Jones <daniel@danieljon.es> | 2017-12-11 22:43:34 -0500 |
commit | c5183fb9f2b2b1420a6b393540f975b628daaf9e (patch) | |
tree | 400d0000e6ad9a7576233b7a82c765b005023b1f /htaccess.txt | |
parent | 7b6a7f8ebd675db5fdfba4befad57da32953bd4d (diff) | |
parent | a67ae3de9e2222486883fc5c739cbd21b758f73d (diff) | |
download | website-c5183fb9f2b2b1420a6b393540f975b628daaf9e.tar.gz website-c5183fb9f2b2b1420a6b393540f975b628daaf9e.zip |
Merge branch 'master' of /home/daniel/git/website
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 |