From 76c45c51530d40c12e5a9a04ddb012bdaf44f66f Mon Sep 17 00:00:00 2001
From: aldrichvalentino <aldrich.vh97@gmail.com>
Date: Fri, 29 Sep 2017 09:16:53 +0700
Subject: [PATCH] added .htaccess file

---
 .htaccess | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .htaccess

diff --git a/.htaccess b/.htaccess
new file mode 100644
index 00000000..49011bf7
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,7 @@
+RewriteEngine On
+RewriteBase /TugasBesar1_2017/
+
+RewriteCond %{THE_REQUEST} /view/([^\s?]*) [NC]
+RewriteRule ^ %1 [L,NE,R=302]
+
+RewriteRule ^((?!view/).*)$ view/$1 [L,NC]
\ No newline at end of file
-- 
GitLab