I am trying to list the virtual servers in my Apache httpd configuration on Fedora 38. My internet searches keep turning up references to using either apachectl or apache2ctl with the -S option, but neither one seems to work on Fedora.
# apachectl -S apachectl: The "-S" option is not supported.
# dnf provides '*/apache2ctl' Last metadata expiration check: 3:35:44 ago on Sun 12 May 2024 01:13:05 PM CDT. bash-completion-1:2.11-9.fc38.noarch : Programmable completion for Bash Repo : fedora Matched from: Filename : /usr/share/bash-completion/completions/apache2ctl
So how is one supposed to do this on Fedora?
On 5/12/24 14:56, Ian Pilcher wrote:
I am trying to list the virtual servers in my Apache httpd configuration on Fedora 38. My internet searches keep turning up references to using either apachectl or apache2ctl with the -S option, but neither one seems to work on Fedora.
# apachectl -S apachectl: The "-S" option is not supported.
# dnf provides '*/apache2ctl' Last metadata expiration check: 3:35:44 ago on Sun 12 May 2024 01:13:05 PM CDT. bash-completion-1:2.11-9.fc38.noarch : Programmable completion for Bash Repo : fedora Matched from: Filename : /usr/share/bash-completion/completions/apache2ctl
So how is one supposed to do this on Fedora?
Not specific to Fedora but the apache2 method is
apache2ctl -t -D DUMP_VHOSTS