From 3b7e9f7178cc833c2e036653d3f8919abef5509a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Jales?= Date: Thu, 11 Jul 2024 19:27:34 +0200 Subject: [PATCH] Update debugging apache2 Ubuntu session (#980) * Update debugging apache2 Ubuntu session In order to get a proper response when printing the apache's virtualhosts on a ubuntu host, one needs to define the environment variables. This commit changes how one should evoke the command without getting an error message * fixing typo --- source/authentication/overview/map-user.rst | 4 ++-- source/how-tos/debug/debug-apache.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/authentication/overview/map-user.rst b/source/authentication/overview/map-user.rst index 9deb710a0..3ced63b90 100644 --- a/source/authentication/overview/map-user.rst +++ b/source/authentication/overview/map-user.rst @@ -23,7 +23,7 @@ Both with variations will be discussed here. Remote User ----------- -It's worth discussusing where ``REMOTE_USER`` is comfing from. When apache +It's worth discussusing where ``REMOTE_USER`` is coming from. When apache has successfully authenticates a request it sets the variable ``REMOTE_USER`` from, well, the remote. @@ -200,4 +200,4 @@ The full message would look like this. .. _user_map_cmd: ood-portal-generator-user-map-cmd .. _user_env: ood-portal-generator-user-env .. _oidc_remote_user_claim: ood-portal-generator-user-map-match -.. _lua_log_level: ood-portal-generator-lua-log-level \ No newline at end of file +.. _lua_log_level: ood-portal-generator-lua-log-level diff --git a/source/how-tos/debug/debug-apache.rst b/source/how-tos/debug/debug-apache.rst index 2aa0eed6b..6ee58e9ac 100644 --- a/source/how-tos/debug/debug-apache.rst +++ b/source/how-tos/debug/debug-apache.rst @@ -77,7 +77,7 @@ Or you're using the wrong hostname in your browser. .. code-block:: sh - sudo /sbin/apache2 -S + . /etc/apache2/envvars; sudo -E /sbin/apache2 -S Performance Tuning ------------------