diff --git a/.gitignore b/.gitignore
index 047ec2f..7c18c1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
.osp
.git
.github
+ngallery.yaml
\ No newline at end of file
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..7277e65
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,32 @@
+RewriteEngine On
+RewriteCond %{REQUEST_FILENAME} !-f
+AddDefaultCharset UTF-8
+RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
+
+Options -Indexes
+
+