diff --git a/.htaccess b/.htaccess
old mode 100644
new mode 100755
index 8360226..08d7bb2
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,14 @@
-
+RewriteEngine on
+
+RewriteRule ^app/?.*$ - [F,L]
+RewriteRule ^data/logs/?.*$ - [F,L]
+
+
Order Allow,Deny
Deny from All
-
\ No newline at end of file
+
+
+
+ Order Allow,Deny
+ Deny from All
+
diff --git a/app/.htaccess b/app/.htaccess
deleted file mode 100644
index 3418e55..0000000
--- a/app/.htaccess
+++ /dev/null
@@ -1 +0,0 @@
-deny from all
\ No newline at end of file
diff --git a/data/.htaccess b/data/.htaccess
deleted file mode 100644
index dba9758..0000000
--- a/data/.htaccess
+++ /dev/null
@@ -1,2 +0,0 @@
-Order Allow,Deny
-Deny from All
\ No newline at end of file
diff --git a/data/logs/.gitkeep b/data/logs/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/data/logs/.htaccess b/data/logs/.htaccess
deleted file mode 100644
index 3418e55..0000000
--- a/data/logs/.htaccess
+++ /dev/null
@@ -1 +0,0 @@
-deny from all
\ No newline at end of file