From 9aaa8d3cb3af1e8c08f6abc60ca50f1663d30977 Mon Sep 17 00:00:00 2001
From: themohooks <81331307+themohooks@users.noreply.github.com>
Date: Thu, 4 Jul 2024 12:15:08 +0300
Subject: [PATCH] update scripts
---
.gitignore | 1 +
.htaccess | 32 ++++++++++++++++++++++++++++++++
index.php | 3 ---
ngallery-example.yaml | 29 +++++++++++++++++++++++++++++
static/img/serverdown.svg | 1 +
5 files changed, 63 insertions(+), 3 deletions(-)
create mode 100644 .htaccess
create mode 100644 ngallery-example.yaml
create mode 100644 static/img/serverdown.svg
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
+
+