From 065174271d5b521b3bab54d48bb1c91569f8e56f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 19 Jan 2025 18:25:14 +0200 Subject: feat: Implement the home page --- apache/httpd.conf.tpl | 1 + apache/sites/nowayforward_human.conf.tpl | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'apache') diff --git a/apache/httpd.conf.tpl b/apache/httpd.conf.tpl index 3c87dab..950ff21 100644 --- a/apache/httpd.conf.tpl +++ b/apache/httpd.conf.tpl @@ -15,6 +15,7 @@ LoadModule unixd_module modules/mod_unixd.so LoadModule mime_module modules/mod_mime.so LoadModule alias_module modules/mod_alias.so LoadModule env_module modules/mod_env.so +LoadModule rewrite_module modules/mod_rewrite.so #LoadModule log_config_module modules/mod_log_config.so Define ROOT ${ROOT_DIR} diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl index 46fa9c1..e94e13e 100644 --- a/apache/sites/nowayforward_human.conf.tpl +++ b/apache/sites/nowayforward_human.conf.tpl @@ -5,4 +5,8 @@ SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/" + + RedirectMatch "^/$" /home/index.php + RedirectMatch "^/index.html$" /home/index.php + RedirectMatch "^/index.php$" /home/index.php -- cgit v1.2.3