summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-21 02:21:45 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-21 02:22:34 +0300
commit4fb0795d93975a1a026162faa020190f3d53b279 (patch)
treecefa4b686f415615a9fb1996f8d5d1bf6a9b9063
parentaecd5c01aa145c5cbb44eb85973fe4aad780559b (diff)
localwebsite: support apache backend, add .htaccess
-rw-r--r--localwebsite/htdocs/.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/localwebsite/htdocs/.htaccess b/localwebsite/htdocs/.htaccess
new file mode 100644
index 0000000..c18b135
--- /dev/null
+++ b/localwebsite/htdocs/.htaccess
@@ -0,0 +1,6 @@
+RewriteEngine on
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteCond %{REQUEST_URI} !=/server-status
+RewriteRule ^.*$ /index.php [L,QSA]