aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-12-07 20:31:39 +0100
committerThomas Lange <code@nerdmind.de>2024-12-07 21:13:28 +0100
commitdb7b51e00891e5a67e8be7baa2f3385f74174215 (patch)
tree9f30d05e92471443240469e552107161ef2c0a93
parent8ee04e772c8e8c39407595014f366adf48ba9c31 (diff)
downloadblog-db7b51e00891e5a67e8be7baa2f3385f74174215.tar.gz
blog-db7b51e00891e5a67e8be7baa2f3385f74174215.tar.xz
blog-db7b51e00891e5a67e8be7baa2f3385f74174215.zip
Move webserver config files to "core" directory
... and add `/.htaccess` to the ignore list in `.gitignore`. If one wants to configure Apache by using the good old `.htaccess` file, all they have to do is copying the `core/ws-apache.conf` to `.htaccess`. Because of the `.gitignore`, Git will not list the `.htaccess` file as changed anymore if it contains additional configuration parameters.
-rw-r--r--.gitignore1
-rw-r--r--core/ws-apache.conf (renamed from .htaccess)6
-rw-r--r--core/ws-nginx.conf (renamed from .ht-nginx)0
3 files changed, 1 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index b9c9e28..f21ed02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
/.idea/
+/.htaccess
/static/
*.js.map
*.css.map
diff --git a/.htaccess b/core/ws-apache.conf
index 55c32d3..e7b0e10 100644
--- a/.htaccess
+++ b/core/ws-apache.conf
@@ -11,12 +11,6 @@
# #
# AllowOverride None #
# #
-# NOTICE: If you decide to include these rules directly into the Apache config #
-# and want to set AllowOverride to something other than "None", it might cause #
-# trouble with this .htaccess file which might contain rules that are not per- #
-# mitted by your custom AllowOverride setting in the server config. You should #
-# rename (or delete) this file to prevent Apache from parsing it in that case! #
-# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#===============================================================================
diff --git a/.ht-nginx b/core/ws-nginx.conf
index 45bda6a..45bda6a 100644
--- a/.ht-nginx
+++ b/core/ws-nginx.conf